Comments (10)
I have NSUserTrackingUsageDescription in my Info.plist and I remember this was working before this version.
I have error for message: :"null is not an object (evaluating 's.requestTrackingPermission') and name: TypeError
const trackingStatus = await requestTrackingPermission();
logInfoInstabug(trackingStatus, 'trackingStatus');
report(trackingStatus, 'trackingStatus:');
} catch (e) {
report(e, 'requestTrackingPermission() Error');
reportErrorInstabug(e, 'requestTrackingPermission() Error');
}
from react-native-tracking-transparency.
Hey guys. Removing the app from simulator/real device, removing Pods folder, reinstalling pods and reseting the metro cache with react-native start --reset-cache did work for me.
from react-native-tracking-transparency.
Have you added NSUserTrackingUsageDescription to info.plist?
from react-native-tracking-transparency.
Can you share the crashlogs? Check your native logs window in Xcode.
Did you edit your Info.plist to add a tracking info description?
from react-native-tracking-transparency.
@mrousavy, unfortunately, logs are clear, through the cycle of executing my component, I've used a log to this case
and the last message that I've faced it's status of const trackingStatus = await getTrackingStatus()
;
that shows not-determined
Yes, I edit Info.plist and added the required key with the description. The problem that on the emulator everything works fine, but on real device, after requestTrackingPermission
called, my app crashed
from react-native-tracking-transparency.
I have the same error "null is not an object (evaluating 'TrackingTransparency.getTrackingStatus')"
How can I solve this? @mrousavy
from react-native-tracking-transparency.
I have the same error "null is not an object (evaluating 'TrackingTransparency.getTrackingStatus')"
How can I solve this? @mrousavy
I have NSUserTrackingUsageDescription in my Info.plist and I remember this was working before this version.
I have error for message: :"null is not an object (evaluating 's.requestTrackingPermission') and name: TypeErrorconst trackingStatus = await requestTrackingPermission(); logInfoInstabug(trackingStatus, 'trackingStatus'); report(trackingStatus, 'trackingStatus:'); } catch (e) { report(e, 'requestTrackingPermission() Error'); reportErrorInstabug(e, 'requestTrackingPermission() Error'); }
I also had the same situation as you. I try adding pod 'react-native-tracking-transparency', :path => '../node_modules/react-native-tracking-transparency'
in Podfile then pod install
. This work for me.
from react-native-tracking-transparency.
I have the same error "null is not an object (evaluating 'TrackingTransparency.getTrackingStatus')"
How can I solve this? @mrousavyI have NSUserTrackingUsageDescription in my Info.plist and I remember this was working before this version.
I have error for message: :"null is not an object (evaluating 's.requestTrackingPermission') and name: TypeErrorconst trackingStatus = await requestTrackingPermission(); logInfoInstabug(trackingStatus, 'trackingStatus'); report(trackingStatus, 'trackingStatus:'); } catch (e) { report(e, 'requestTrackingPermission() Error'); reportErrorInstabug(e, 'requestTrackingPermission() Error'); }
I also had the same situation as you. I try adding
pod 'react-native-tracking-transparency', :path => '../node_modules/react-native-tracking-transparency'
in Podfile thenpod install
. This work for me.
It's still crashing :(
from react-native-tracking-transparency.
pod 'react-native-tracking-transparency', :path => '../node_modules/react-native-tracking-transparency'
Works for me too.
from react-native-tracking-transparency.
Hey guys. Removing the app from simulator/real device, removing Pods folder, reinstalling pods and reseting the metro cache with react-native start --reset-cache did work for me.
Thank you so much for this solution. Have been stuck at this, and this fixed the issue. I am unsure why or which step solved it, but it works now!
react: 16.11.0
react-native: 0.62.2
react-native-tracking-transparency 0.1.1
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`
- tracking status always returns 'denied' [iOS 14.4] HOT 2
- Link react_native_tracking_transparency (arm64) 0.2 seconds * Undefined symbol: _RCTRegisterModule HOT 7
- Apple TV support HOT 2
- What happens when the user clicks Ask App Not to Track HOT 6
- Error - TypeError: null is not an object (evaluating 'TrackingTransparency.getTrackingStatus') HOT 4
- 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
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.