Comments (4)
Are you sure the native module has installed successfully?
Run pod install
and then rebuild the App (run it on your Phone).
from react-native-tracking-transparency.
Yes, everything is installed. As I said it works when running on a simulator with iOS 14.5 or lower.
from react-native-tracking-transparency.
Well the method should exist even if it is being run on an iOS version below 14.5:
so the only reason that TrackingTransparency.getTrackingStatus
can be null is if the native module has not been installed (that is, pod install + rebuild the app for your phone)
Can you put a breakpoint in that line to see if it gets invoked?
from react-native-tracking-transparency.
I restarted my iPhone, deleted node_module and ios/Pods, ran yarn install and pod install and now everything seem to work. The status returned is "restricted".
Sorry to bother you, thank you very much for your help, appreciate it!
from react-native-tracking-transparency.
Related Issues (20)
- xcode 12.4 build error: Undefined symbol: _OBJC_CLASS_$_ATTrackingManager [iOS 14.4] HOT 2
- 'TrackingTransparency.mm' cannot be found HOT 1
- Not working on real device HOT 2
- requestTrackingPermission is not working after 'denied' the first time HOT 3
- App breaking on (iOS < 14) dyld: Library not loaded HOT 1
- Not possible to request Tracking Transparency in iOS 15 HOT 20
- Change alert text HOT 1
- Custom IDFA message not showing HOT 1
- Undefined symbol: _RCTRegisterModule when trying to build app HOT 3
- bundling failed: Error: While trying to resolve module `react-native-tracking-transparency`
- Link react_native_tracking_transparency (arm64) 0.2 seconds * Undefined symbol: _RCTRegisterModule HOT 7
- Apple TV support HOT 2
- requestTrackingPermission returns 'denied' HOT 1
- What happens when the user clicks Ask App Not to Track HOT 6
- Is there any way to change the status after the request prompt is already shown? HOT 2
- Does this work for React Native Expo? HOT 2
- firebase crashlytics report: FBSDKSKAdNetworkReporter (After version of ATT) HOT 4
- Why duplicate react-native-permission? HOT 4
- requestTrackingPermission crash the app [OS 14.5.1] HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-tracking-transparency.