yandexmobile / metrica-plugin-cordova

Cordova plugin for Yandex AppMetrica SDK
Other
11 stars 26 forks source link

NSInvalidArgumentException reason: YMMDatabase stringForQuery #20

Open shevchukvn opened 4 years ago

shevchukvn commented 4 years ago

Ionic 5, Capacitor 2.0.0 Xcode Version 11.5 (11E608c)

на Андройде полет отличный

на iOS:

2020-05-27 09:42:20.976212+0300 App[19143:3622505] -[YMMDatabase stringForQuery:]: unrecognized selector sent to instance 0x6000018d8f60 2020-05-27 09:42:20.977779+0300 App[19143:3622505] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[YMMDatabase stringForQuery:]: unrecognized selector sent to instance 0x6000018d8f60' First throw call stack: ( 0 CoreFoundation 0x00007fff23e3cf0e exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48 2 CoreFoundation 0x00007fff23e5dc34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x00007fff23e4190c __forwarding + 1436 4 CoreFoundation 0x00007fff23e43bf8 _CF_forwarding_prep_0 + 120 5 CordovaPlugins 0x00000001012c3562 -[YMMStorage stringForKey:db:] + 50 6 CordovaPlugins 0x00000001012c36ed 27-[YMMStorage stringForKey:]_block_invoke + 36 7 CordovaPlugins 0x0000000101336f81 35-[YMMFMDatabaseQueue inDatabase:]_block_invoke + 55 8 libdispatch.dylib 0x0000000101eb6e8e _dispatch_client_callout + 8 9 libdispatch.dylib 0x0000000101ec5ae2 _dispatch_lane_barrier_sync_invoke_and_complete + 132 10 CordovaPlugins 0x0000000101336f29 -[YMMFMDatabaseQueue inDatabase:] + 115 11 CordovaPlugins 0x00000001012c2e3a __25-[YMMStorage inDatabase:]_block_invoke + 62 12 CordovaPlugins 0x00000001012c26dd -[YMMStorage inOpenedDatabase:] + 318 13 CordovaPlugins 0x00000001012c2ddd -[YMMStorage inDatabase:] + 115 14 CordovaPlugins 0x00000001012c3639 -[YMMStorage stringForKey:] + 183 15 CordovaPlugins 0x00000001012c3fa0 -[YMMStorage schemaVersion] + 31 16 CordovaPlugins 0x000000010129a2a8 -[YMMStorageMigrationManager applySchemeMigrationsToStorage:] + 42 17 CordovaPlugins 0x00000001012c2657 -[YMMStorage inOpenedDatabase:] + 184 18 CordovaPlugins 0x00000001012c2ddd -[YMMStorage inDatabase:] + 115 19 CordovaPlugins 0x00000001012c3901 -[YMMStorage stringsForKeys:] + 390 20 CordovaPlugins 0x00000001012f6ea6 -[YMMMetricaPersistentConfiguration initWithKeychainBridge:] + 1198 21 CordovaPlugins 0x00000001012f69de -[YMMMetricaPersistentConfiguration init] + 69 22 CordovaPlugins 0x00000001012e947f -[YMMMetricaConfiguration persistentConfiguration] + 66 23 CordovaPlugins 0x00000001012eb6ef -[YMMMetricaConfiguration setUserStartupHosts:] + 78 24 CordovaPlugins 0x00000001012bdbab +[YMMYandexMetrica importConfiguration:] + 215 25 CordovaPlugins 0x00000001012bde28 +[YMMYandexMetrica activateWithConfiguration:] + 240 26 CordovaPlugins 0x0000000101294393 +[YMMAppMetricaPlugin activateWithConfigurationDictionary:] + 112 27 libdispatch.dylib 0x0000000101eb5f11 _dispatch_call_block_and_release + 12 28 libdispatch.dylib 0x0000000101eb6e8e _dispatch_client_callout + 8 29 libdispatch.dylib 0x0000000101eb92d8 _dispatch_queue_override_invoke + 1022 30 libdispatch.dylib 0x0000000101ec8399 _dispatch_root_queue_drain + 351 31 libdispatch.dylib 0x0000000101ec8ca6 _dispatch_worker_thread2 + 135 32 libsystem_pthread.dylib 0x00007fff51c089f7 _pthread_wqthread + 220 33 libsystem_pthread.dylib 0x00007fff51c07b77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

NesterovichAlexey commented 4 years ago

Привет. Можешь прислать вывод ionic info. Версия плагина 1.0.0? На каких версиях iOS воспроизводится?

shevchukvn commented 4 years ago

Приветствую! Спасибо за быструю реакцию)

Ionic info.

Ionic:

Ionic CLI : 6.9.2 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 4.9.0 @angular-devkit/build-angular : 0.801.3 @angular-devkit/schematics : 8.1.3 @angular/cli : 8.1.3 @ionic/angular-toolkit : 2.0.0

Capacitor:

Capacitor CLI : 2.0.0-beta.1 @capacitor/core : 2.0.0-beta.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : browser 6.0.0 Cordova Plugins : no whitelisted plugins (0 plugins total)

Utility:

cordova-res : not installed native-run (update available: 1.0.0) : 0.2.9

System:

Android SDK Tools : 26.1.1 (/usr/local/share/android-sdk) NodeJS : v10.16.3 (/usr/local/bin/node) npm : 6.12.0 OS : macOS Catalina Xcode : Xcode 11.5 Build version 11E608c

shevchukvn commented 4 years ago

На каких версиях iOS воспроизводится?

8, XR, 11