Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The example calls an API missing from its locked SDK dependency, breaking typechecking and iOS execution, while overlapping permission flows can leave tracking authorization unrequested without a retry.
2 open issues
What changed in this PR
Adds iOS advertising identifier integration to the Expo example without changing the plugin. The PR remains a draft pending an SDK release that provides the setter.
Changes:
- Requests tracking permission and passes the advertising identifier at launch and on foreground activation.
- Adds the tracking-transparency dependency and permission message.
- Declares the tracking domain in the iOS privacy manifest.
| File | Description |
|---|---|
| examples/MindboxExpoExample/yarn.lock | Locks the tracking-transparency dependency. |
| examples/MindboxExpoExample/src/screens/HomeScreen.tsx | Adds tracking permission and identifier forwarding. |
| examples/MindboxExpoExample/package.json | Adds expo-tracking-transparency. |
| examples/MindboxExpoExample/app.json | Configures the permission message and tracking privacy declarations. |
Review effort: Balanced
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The pending SDK upgrade and unavailable setter contracts require validation of identifier semantics, generated iOS privacy metadata, and on-device ATT and notification prompt behavior before approval.
2 open issues
Review effort: Balanced
justSmK
force-pushed
the
feature/MOBILE-621-idfa-setter
branch
from
November 13, 2026 12:24
8189ebc to
76db511
Compare
justSmK
marked this pull request as ready for review
November 13, 2026 12:26
The iOS SDK no longer reads the IDFA itself: the app asks for tracking permission, reads the identifier with expo-tracking-transparency and passes it at launch and on every return to the foreground. The tracking host is declared through ios.privacyManifests, without which the SDK keeps the identifier on the device.
iOS shows no tracking prompt while another permission alert is open and does not keep the request. The example asks for notifications on the same mount, so a single request at launch could leave the status undetermined for the whole launch and pass zeros to the SDK. Apple's documentation of requestTrackingAuthorization says to check for notDetermined to decide on another call, so the check now runs at launch and on every activation.
justSmK
force-pushed
the
feature/MOBILE-621-idfa-setter
branch
from
November 16, 2026 12:18
76db511 to
3fc46ad
Compare
sergeysozinov
approved these changes
Nov 17, 2026
justSmK
marked this pull request as draft
November 17, 2026 08:49
The docs and the Flutter and React Native examples declare the IDFA as Device ID collected for tracking; the Expo example only declared the tracking domain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


https://tracker.yandex.ru/MOBILE-621
After MOBILE-390 the iOS SDK no longer reads the IDFA: the app passes it through
MindboxSdk.setAdvertisingIdentifier(mindbox-cloud/react-native-sdk#240). The plugin itself does not change; the example shows the integration:expo-tracking-transparencyasks for permission once and gives the identifier, the app passes it at launch and on every return to the foreground, andios.privacyManifestsinapp.jsondeclares the tracking host.Merge only after
mindbox-sdkwith the setter is published: the example still depends on^2.16.0, which has no such method, so it does not typecheck yet. The dependency bump joins this PR after that release. Not run yet:expo prebuildand a launch.