My App is built with Ionic 5 and capacitor framework. It uses the cordova plugin Fingerprint AIO. Everything works as expected on a physical Android device, on a iOS emulator and on a iOS physical device in debug mode. But when running the app in a iOS physical device after building in release mode (TestFlight), the app crashes when the fingerprint AIO plugin is used
This is part of the crash report I could get from that (its too big to post it):
Incident Identifier: C8E16D28-D1B8-4331-82B4-5EED4CA9657E
Hardware Model: iPhone10,3
Process: App [2734]
Path: /private/var/containers/Bundle/Application/A388086F-F9A7-4AE4-890F-C0C218D3D88A/App.app/App
Identifier: com.MyApp.MyApp
Version: 4.0.1 (4.0)
AppStoreTools: 12A7604b
AppVariant: 1:iPhone10,3:14
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.MyApp.MyApp [1072]
Date/Time: 2020-11-05 16:08:10.1727 -0300
Launch Time: 2020-11-05 16:07:24.9042 -0300
OS Version: iPhone OS 14.1 (18A8395)
Release Type: User
Baseband Version: 6.02.01
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000102fa7e28
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [2734]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 CordovaPlugins 0x0000000102fa7e28 Fingerprint.authenticate(_:) + 1056 (Fingerprint.swift:91)
1 CordovaPlugins 0x0000000102fa7c74 Fingerprint.authenticate(_:) + 620 (Fingerprint.swift:0)
2 CordovaPlugins 0x0000000102fa7eb4 @objc Fingerprint.authenticate(_:) + 48 (<compiler-generated>:0)
3 Capacitor 0x0000000102bd35c8 CAPBridge.handleCordovaJSCall(call:) + 1612 (CAPBridge.swift:467)
4 Capacitor 0x0000000102be1eb4 specialized CAPBridgeDelegate.userContentController(_:didReceive:bridge:) + 3240 (CAPBridgeDelegate.swift:40)
5 Capacitor 0x0000000102bdef40 userContentController + 12 (CAPBridgeViewController.swift:358)
6 Capacitor 0x0000000102bdef40 userContentController + 12 (<compiler-generated>:0)
7 Capacitor 0x0000000102bdef40 @objc CAPBridgeViewController.userContentController(_:didReceive:) + 136
8 WebKit 0x00000001ac871c9c ScriptMessageHandlerDelegate::didPostMessage(WebKit::WebPageProxy&, WebKit::FrameInfoData&&, API::ContentWorld&, WebCore::SerializedScriptValue&) + 228 (WKUserContentController.mm:148)
9 WebKit 0x00000001aca5aa20 WebKit::WebUserContentControllerProxy::didPostMessage(WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WebKit::FrameInfoData&&, unsigned long long, IPC::DataReference const&, WTF::Complet... + 532 (WebUserContentControllerProxy.cpp:352)
10 WebKit 0x00000001acc794ec void IPC::handleMessageAsync<Messages::WebUserContentControllerProxy::DidPostMessage, WebKit::WebUserContentControllerProxy, void (WebKit::WebUserContentControllerProxy::*)(WTF::ObjectIdentifier<We... + 2572 (HandleMessage.h:55)
11 WebKit 0x00000001acc78acc WebKit::WebUserContentControllerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 76 (WebUserContentControllerProxyMessageReceiver.cpp:83)
12 WebKit 0x00000001ac6815d4 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 116 (MessageReceiverMap.cpp:0)
13 WebKit 0x00000001ac9862a4 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 36 (AuxiliaryProcessProxy.cpp:209)
14 WebKit 0x00000001ac6657fc IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 596 (Connection.cpp:1001)
15 WebKit 0x00000001ac665140 IPC::Connection::dispatchIncomingMessages() + 492 (Connection.cpp:1174)
16 JavaScriptCore 0x00000001aa6dab38 WTF::RunLoop::performWork() + 528 (Function.h:83)
17 JavaScriptCore 0x00000001aa6db650 WTF::RunLoop::performWork(void*) + 32 (RunLoopCF.cpp:46)
18 CoreFoundation 0x00000001a0bd9240 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1967)
19 CoreFoundation 0x00000001a0bd9140 __CFRunLoopDoSource0 + 204 (CFRunLoop.c:2011)
20 CoreFoundation 0x00000001a0bd8488 __CFRunLoopDoSources0 + 256 (CFRunLoop.c:2048)
21 CoreFoundation 0x00000001a0bd2a40 __CFRunLoopRun + 776 (CFRunLoop.c:2925)
22 CoreFoundation 0x00000001a0bd2200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
23 GraphicsServices 0x00000001b6d4f598 GSEventRunModal + 160 (GSEvent.c:2259)
24 UIKitCore 0x00000001a349bbcc -[UIApplication _run] + 1052 (UIApplication.m:3270)
25 UIKitCore 0x00000001a34a11a0 UIApplicationMain + 164 (UIApplication.m:4739)
26 App 0x0000000102b7808c main + 64 (AppDelegate.swift:5)
27 libdyld.dylib 0x00000001a08b1588 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001cb75c8c4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001cb75bcc8 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001a0bd874c __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001a0bd2bd0 __CFRunLoopRun + 1176 (CFRunLoop.c:2974)
4 CoreFoundation 0x00000001a0bd2200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
5 Foundation 0x00000001a1de0278 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374)
6 Foundation 0x00000001a1de0158 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88 (NSRunLoop.m:421)
7 UIKitCore 0x00000001a3547748 -[UIEventFetcher threadMain] + 504 (UIEventFetcher.m:836)
8 Foundation 0x00000001a1f3cc48 __NSThread__start__ + 848 (NSThread.m:724)
9 libsystem_pthread.dylib 0x00000001e6935b70 _pthread_start + 288 (pthread.c:880)
10 libsystem_pthread.dylib 0x00000001e693a880 thread_start + 8
Thread 2:
0 libsystem_pthread.dylib 0x00000001e693a86c start_wqthread + 0
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001cb77f72c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001e6932c88 _pthread_cond_wait$VARIANT$armv81 + 1180 (pthread_cond.c:636)
2 libc++.1.dylib 0x00000001b4591ea4 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::r... + 96 (__threading_support:396)
3 JavaScriptCore 0x00000001aa749f98 bmalloc::Scavenger::threadRunLoop() + 632 (__mutex_base:0)
4 JavaScriptCore 0x00000001aa749854 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 12 (Scavenger.cpp:395)
5 JavaScriptCore 0x00000001aa74af34 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scaveng... + 44 (type_traits:3545)
6 libsystem_pthread.dylib 0x00000001e6935b70 _pthread_start + 288 (pthread.c:880)
7 libsystem_pthread.dylib 0x00000001e693a880 thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001cb75c8c4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001cb75bcc8 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001a0bd874c __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001a0bd2bd0 __CFRunLoopRun + 1176 (CFRunLoop.c:2974)
4 CoreFoundation 0x00000001a0bd2200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
5 AudioSession 0x00000001a80db158 GenericRunLoopThread::Entry(void*) + 156 (GenericRunLoopThread.h:91)
6 AudioSession 0x00000001a80dd0b8 CAPThread::Entry(CAPThread*) + 88 (CAPThread.cpp:321)
7 libsystem_pthread.dylib 0x00000001e6935b70 _pthread_start + 288 (pthread.c:880)
8 libsystem_pthread.dylib 0x00000001e693a880 thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x00000001e693a86c start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x00000001e693a86c start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00000001e693a86c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000102ce0000 x1: 0x0000000281607660 x2: 0x0000000000000001 x3: 0x0000000000000000
x4: 0x0000000000000070 x5: 0x0000000000000070 x6: 0x0000000000000070 x7: 0x0000000000000000
x8: 0x039c91f7f409000d x9: 0x039c91f7f409000d x10: 0x00000000000007fb x11: 0x00000000000007fd
x12: 0x0000000000000001 x13: 0x00000000832478a3 x14: 0x0000000083448000 x15: 0x0000000000000090
x16: 0x0000000080000000 x17: 0x0000000003400000 x18: 0x0000000000000000 x19: 0x00000002805db240
x20: 0x0000000281ed7ea0 x21: 0x00000002805d9dc0 x22: 0x0000000281607620 x23: 0x00000002816fde40
x24: 0x00000002829816c0 x25: 0x0000000281607660 x26: 0x00000001eee2e168 x27: 0x00000001031e1000
x28: 0x00000001031e0000 fp: 0x000000016d28dc90 lr: 0x0000000102fa7c74
sp: 0x000000016d28dba0 pc: 0x0000000102fa7e28 cpsr: 0x60000000
esr: 0xf2000001 Address size fault
EOF
ionic info log:
Ionic:
Ionic CLI : 6.7.0 (C:\Users\Derek\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.1.0
@angular-devkit/build-angular : 0.803.28
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 2.0.2
@capacitor/core : 2.4.2
Utility:
cordova-res : not installed
native-run : 0.2.8
System:
NodeJS : v12.16.3 (C:\Program Files\nodejs\node.exe)
npm : 6.14.3
OS : Windows 10
My package.json:
{
"name": "MyApp",
"version": "4.0.0",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^8.2.14",
"@angular/common": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@auth0/angular-jwt": "^4.0.0",
"@capacitor-community/camera-preview": "^1.0.5",
"@capacitor/android": "^2.0.2",
"@capacitor/core": "^2.4.2",
"@capacitor/ios": "^2.4.2",
"@ionic-native/app-rate": "^5.25.0",
"@ionic-native/app-version": "^5.25.0",
"@ionic-native/barcode-scanner": "^5.28.0",
"@ionic-native/card-io": "^5.28.0",
"@ionic-native/clipboard": "^5.25.0",
"@ionic-native/core": "^5.0.7",
"@ionic-native/device": "^5.25.0",
"@ionic-native/device-feedback": "^5.25.0",
"@ionic-native/file-opener": "^5.26.0",
"@ionic-native/fingerprint-aio": "^5.25.0",
"@ionic-native/in-app-browser": "^5.25.0",
"@ionic-native/native-audio": "^5.25.0",
"@ionic-native/screen-orientation": "^5.25.0",
"@ionic-native/taptic-engine": "^5.25.0",
"@ionic/angular": "^5.0.0",
"@ngx-translate/core": "^12.1.2",
"@ngx-translate/http-loader": "^4.0.0",
"@types/googlemaps": "^3.39.9",
"b64-to-blob": "^1.2.19",
"card.io.cordova.mobilesdk": "^2.1.0",
"cordova-clipboard": "^1.3.0",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-apprate": "^1.5.0",
"cordova-plugin-camera-preview": "^0.12.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-file-opener2": "^3.0.2",
"cordova-plugin-fingerprint-aio": "^3.0.1",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-nativeaudio": "^3.0.9",
"cordova-plugin-nativestorage": "^2.3.2",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-taptic-engine": "^2.1.0",
"cordova-plugin-velda-devicefeedback": "0.0.2",
"cordova-support-google-services": "^1.4.0",
"core-js": "^2.5.4",
"countup.js": "^2.0.5",
"es6-promise-plugin": "^4.2.2",
"google-libphonenumber": "^3.2.13",
"hammerjs": "^2.0.8",
"html2canvas": "^1.0.0-rc.5",
"ionic-custom-bottom-sheet": "^2.0.7",
"moment": "^2.24.0",
"ng2-charts-x": "^2.0.6",
"ngx-captcha": "^8.0.1",
"ngx-moment": "^3.5.0",
"ngx-trend": "^5.0.1",
"phonegap-plugin-barcodescanner": "^8.1.0",
"phonegap-plugin-multidex": "^1.0.0",
"postscribe": "^2.0.8",
"rxjs": "~6.5.1",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.803.20",
"@angular/cli": "~8.3.23",
"@angular/compiler": "~8.2.14",
"@angular/compiler-cli": "~8.2.14",
"@angular/language-service": "~8.2.14",
"@capacitor/cli": "2.0.2",
"@ionic/angular-toolkit": "^2.1.1",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "^5.0.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
},
"description": "An Ionic project"
}
1 post - 1 participant