You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the SDK according to the instructions and had to perform a change to get the component to build.
Within the Pods>Development Pods> react-native-mopub-sdk>RNNativeAdView.h file I had to change the imports for RCTView.h and RCTTextView.h to:
Now, when I run the app (simulator or real device), I get the following exception when attempting to run it under ios.
2020-03-19 20:09:26.817747-0500 PolyAmDate[20900:2813371] *** Assertion failure in -[MPConsentManager synchronizeConsentWithCompletion:], /Users/lclay/Repositories/kaolin/PolyAmMobile/ios/Pods/mopub-ios-sdk/MoPubSDK/Internal/MPConsentManager.m:549
2020-03-19 20:09:26.820109-0500 PolyAmDate[20900:2813525]
[MoPub][MPConsentManager] Attempting to synchronize consent state
2020-03-19 20:09:26.820190-0500 PolyAmDate[20900:2813525]
[MoPub][MPConsentManager] Warning: no ad unit available for GDPR sync. Please make sure that the SDK is initialized correctly via `initializeSdkWithConfiguration:completion:` as soon as possible after app startup.
2020-03-19 20:09:26.839867-0500 PolyAmDate[20900:2813371] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Warning: no ad unit available for GDPR sync. Please make sure that the SDK is initialized correctly via `initializeSdkWithConfiguration:completion:` as soon as possible after app startup.'
*** First throw call stack:
(0x1882f2a48 0x188019fa4 0x1881f4e88 0x18862a654 0x10143f038 0x1013f4c54 0x1013f47b8 0x103702bd8 0x1037044c8 0x1013f451c 0x1014fbb1c 0x1014fbcc4 0x1014fc620 0x1010a91b4 0x1011b652c 0x1011c0e28 0x1037017fc 0x103702bd8 0x103710c34 0x1882705e4 0x18826b5d8 0x18826aadc 0x19220b328 0x18c37863c 0x100c88c9c 0x1880f4360)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I couldn't find any instructions on how to setup for GDPR sync.
I installed the SDK according to the instructions and had to perform a change to get the component to build.
Within the Pods>Development Pods> react-native-mopub-sdk>RNNativeAdView.h file I had to change the imports for RCTView.h and RCTTextView.h to:
Now, when I run the app (simulator or real device), I get the following exception when attempting to run it under ios.
I couldn't find any instructions on how to setup for GDPR sync.
Here's the code I'm using....
*** Edit ****
react version: 16.8.6
react-native version: 0.61.5
The text was updated successfully, but these errors were encountered: