Issue - Cursor shifts focus to next textbox on iOS 12 IPA built on xcode 10.1 - ibm-mobilefirst

We have been using XCode 7.1 till now for creating IPA but since Apple has made official that the IPA submitted should be created from XCode 10 and above, we have created the same project using XCode 10.1 and 10.2. We are facing an issue in the IPA created by XCode 10.1 or 10.2 where in if we focus on one text box the cursor jumps to some other text box(usually the last in sequence). Also, the issue is replicable only in iOS12 and above.
Application type: Hybrid application(iOS and Android) built by IBM
MobileFirstPlatform 7.1
JS framework: Sencha Touch 2.3.2
Corodova version: 3.7.0
Logs on touch:
default 16:56:41.258862 -0400 [FATAL] [NONE] Uncaught Exception: TypeError: The TouchEvent.changedTouches getter can only be used on instances of TouchEvent at (compiled_code):220
default 16:56:41.267527 -0400 [FATAL] [NONE] Uncaught Exception: TypeError: The Event.target getter can only be used on instances of Event at (compiled_code):417
default 16:57:05.723232 -0400 [FATAL] [NONE] Uncaught Exception: TypeError: The TouchEvent.changedTouches getter can only be used on instances of TouchEvent at (compiled_code):220

Related

React Native: Android - Google mlkit FaceDetection causing app crash with FATAL EXCEPTION

After configuring the Firebase dashboard and integrating everything into my React Native app, when launching the Android Emulator the app crashes and I get the following error:
FATAL EXCEPTION: create_react_context
Process: com.appName, PID: XXXX
java.lang.VerifyError: Verifier rejected class com.google.mlkit.vision.face.FaceDetection: com.google.mlkit.vision.face.FaceDetector com.google.mlkit.vision.face.FaceDetection.getClient() failed to verify: com.google.mlkit.vision.face.FaceDetector com.google.mlkit.vision.face.FaceDetection.getClient(): [0x10] can't resolve returned type 'Unresolved Reference: com.google.mlkit.vision.face.FaceDetector' or 'Unresolved Reference: com.google.mlkit.vision.face.internal.FaceDetectorImpl'
The iOS Simulator runs fine and I'm able to use MLKit tools seamlessly, so this leads me to believe I have configured the Android app incorrectly. Any ideas?

UNNotificationCenter issue crash the app

When I run my App on ios10 or later, the app works fine but the problem is that when I run the app on ios9 it crashes. I put deployment target 9.0 or later ,I could not find why it is not working on ios 9 and the warning shows like this :
Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '+[NSString
localizedUserNotificationStringForKey:arguments:]: unrecognized
selector sent to class 0x10d042b00'
The problem is with method: localizedUserNotificationStringForKey:arguments.
Please note that this method is only available from iOS 10+.
This method you are using comes in UserNotifications framework. This framework introduced in iOS 10. That's why it's not supporting iOS9 devices.
Please refer this document : Apple Doc on UserNotifications Framework
The method you are using localizedUserNotificationstringForKey is available for iOS 10 or later , it’s not for ios9

MobileFirst 7.1 - Getting issue with WL.JSONStore.init when running on ios 10

Since upgraded to IOS 10 JSONStore initialization fails, same thing was working fine with IOS 9 and below.
Error
Tried to record an true without a starting timestamp
Uncaught Exception: TypeError: cdv.exec is not a function. (In 'cdv.exec(options.onSuccess, options.onFailure, pluginName, nativeFunction, args)', 'cdv.exec' is undefined) at (compiled_code):1307
The sample applications for iOS and Cordova iOS are both operational in iOS 10. I suggest that you will examine how these handle JSONstore and make sure the you follow suit. Otherwise, you need to provide a sample application where this error is reproducible.
See here: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/using-the-mfpf-sdk/jsonstore/

Uncaught TypeError: Cannot read property 'apply' of undefined in React Native Debugger

react native 0.17
Ubuntu 14.04
I Just updated my react native version 0.16 to 0.17 then I try to connect my chrome debugger but I getting this error: --
Uncaught TypeError: Cannot read property 'apply' of undefined
in chrome console
This can cause due to several reasons.
This can occur due to peer-dependencies which are not compatible with your current react-native version.
Solution for this could be upgrading react-native using react-native upgrade, or changing the module or the peer-dependency to a compatible one with your react-native version
This can occur, if you are not using redux dev tools for Google Chrome.
Solution is to add redux dev tools (Issue).
Some issue with your implementation. Somewhere in your code must have a bug that you would not note and that will give the undefined error.
Solution is to check where and when this exception is thrown out and find the bug
For more readings Issue

App crashed on IOS 7.0 works fine on 7.1

I have built an app that works well on IOS 7.1 but when installed on IOS 7.0 it crashes with the following logs:
dyld: lazy symbol binding failed: Symbol not found: _OSAtomicDecrement32
Referenced from: /var/mobile/Applications/80FCE91D-EAB5-4321-A157-4A05EA40C07C/MyAPP.app/MyAPP
Expected in: /usr/lib/libSystem.B.dylib
Aug 16 14:42:00 LAWR3NCEde-iPhone MyAPP[14925] <Notice>: dyld: Symbol not found: _OSAtomicDecrement32
Referenced from: /var/mobile/Applications/80FCE91D-EAB5-4321-A157-4A05EA40C07C/MyAPP.app/MyAPP
Expected in: /usr/lib/libSystem.B.dylib
The app uses Facebook SDK and MSDynamicsViewController (Which uses UIKit). Any idea what this message mean ? And what is this OSAtomicDecrement32 ?
OSAtomicDecrement32 is in OSAtomic.h. It is useful when implementing locks or retain counts in a multi-threaded program.
It's marked as being available on 7.1 and up only (on iPhone) which is why you are crashing.
__OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_7_1)
int32_t OSAtomicDecrement32( volatile int32_t *__theValue );