EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 446 forks source link

SOLVED - IOS crash on runtime - NativeScript caught signal 6 #1546

Open ittrad-mobile-lab opened 4 years ago

ittrad-mobile-lab commented 4 years ago

Even working on android emulator the same app is crashing on IOS simulator: ios8 Version 11.3.1 (SimulatorApp-912.5.1 SimulatorKit-570.3 CoreSimulator-681.17.2)

Why???!!! :(((

*NativeScript caught signal 6. Native Stack: 1 0x102ea9481 sig_handler(int) 2 0x7fff5245b42d _sigtramp 3 0x1 4 0x7fff5234ba5c abort 5 0x7fff502497f8 cxa_bad_cast 6 0x7fff502499c7 demangling_unexpected_handler() 7 0x7fff513fbd7c _objc_terminate() 8 0x7fff50256e97 std::terminate(void ()()) 9 0x7fff50256e39 std::terminate() 10 0x7fff5223f7cd _dispatch_client_callout 11 0x7fff5224bc9b _dispatch_main_queue_callback_4CF 12 0x7fff23bd4049 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE 13 0x7fff23bceca9 CFRunLoopRun 14 0x7fff23bce066 CFRunLoopRunSpecific 15 0x7fff384c0bb0 GSEventRunModal 16 0x7fff48092d4d UIApplicationMain 17 0x10389ab4d ffi_call_unix64 18 0x10a4705d0 JS Stack: UIApplicationMain([native code]) at run(file:///node_modules/@nativescript/core/application/application.js:312:0) at file:///node_modules/@nativescript/angular/platform-common.js:210:0 at file:///node_modules/@nativescript/angular/platform-common.js:111:0 at file:///node_modules/@nativescript/angular/platform-common.js:91:0 at file:///app/bundle.js:608:144 at ./main.ts(file:///app/bundle.js:613:34) at webpack_require__(file:///src/webpack/bootstrap:750:0) at checkDeferredModules(file:///src/webpack/bootstrap:43:0) at webpackJsonpCallback(file:///src/webpack/bootstrap:30:0) at anonymous(file:///app/bundle.js:2:61) at evaluate([native code]) at moduleEvaluation at at asyncFunctionResume at at promiseReactionJob**

firebase...json { "using_ios": true, "using_android": true, "analytics": true, "firestore": false, "realtimedb": true, "authentication": true, "remote_config": false, "performance_monitoring": false, "external_push_client_only": false, "messaging": false, "in_app_messaging": false, "crashlytics": false, "storage": false, "functions": false, "facebook_auth": true, "google_auth": true, "admob": true, "dynamic_links": false, "ml_kit": false }

ittrad-mobile-lab commented 4 years ago

IOS: Add this KEY info.plist to test admob reward: ...

GADApplicationIdentifier ca-app-pub-3940256099942544~3347511713

...

ANDROID: Add this KEY AndroidManifest.xml to test admob reward: <application ... >

<activity ...>

AT THE END: firebase.admob.preloadRewardedVideoAd({ testing: true, iosAdPlacementId: "ca-app-pub-3940256099942544/1712485313", // add your own androidAdPlacementId: "ca-app-pub-3940256099942544/5224354917", // add your own keywords: ["keyword1", "keyword2"] // add keywords for ad targeting });