Skip to content

feat(contacts)!: require @nativescript-community/perms v3 - #678

Open
NathanWalker wants to merge 1 commit into
mainfrom
fix/contacts-perms-v3
Open

feat(contacts)!: require @nativescript-community/perms v3#678
NathanWalker wants to merge 1 commit into
mainfrom
fix/contacts-perms-v3

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Part of the perms v2 → v3 migration.

No code changes needed

@nativescript/contacts declares perms as a dependency so consumers can request contact permissions, but never imports it — the README directs users to call request() themselves. Only the declared range moves to ^3.0.4, keeping the plugin from pinning apps to a perms major that every other plugin here has left.

The README's object form of request() resolves to a MultiResult in both majors, so the documented workflow is unaffected.

Drive-by README fix

The example imported request but called a requestPermissions that does not exist:

-requestPermissions({
+request({

Verification

nx build contacts clean against perms 3.0.11 (with #679 applied).

Merge order

Needs #679. Merge alongside the other three migrations.

🤖 Generated with Claude Code

The plugin declares perms as a dependency for consumers to request
contact permissions with, but never imports it, so no code changes are
needed — only the declared range.

Also corrects the README example, which imported `request` but called a
`requestPermissions` that does not exist. The object form of `request()`
still resolves to a `MultiResult` under v3.

BREAKING CHANGE: requires @nativescript-community/perms v3. Apps pinning
perms v2 must upgrade alongside this release.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 42960810-b10a-4add-b170-a25b7f734f68

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant