Open igorjos opened 3 years ago
Hi @igorjos . Could you please provide more details of your setup, device and environment.
Is any other API working? or is it always crashing ? Taking a wild guess, probably mailcore lib for android needs to be recompiled with latest android ndk (https://github.com/MailCore/mailcore2/blob/master/build-android/README.md)
I'm using x86 emulator and the issue seems that is present only with x86 on arm versions works well.
using Android v7 for testing on x86 "dependencies": { "@react-native-community/async-storage": "^1.12.0", "@react-native-community/masked-view": "^0.1.10", "@react-navigation/native": "^5.7.5", "@react-navigation/stack": "^5.9.2", "react": "16.13.1", "react-native": "0.63.2", "react-native-bootstrap-styles": "^0.4.5-0-k", "react-native-dropdown-picker": "^3.6.8", "react-native-gesture-handler": "^1.8.0", "react-native-mailcore": "^0.1.1", "react-native-safe-area-context": "^3.1.8", "react-native-screens": "^2.11.0", "react-native-swipeable": "^0.6.0", "react-native-vector-icons": "^7.1.0", "react-native-webview": "^10.9.1", "react-redux": "^7.2.1", "redux": "^4.0.5", "redux-thunk": "^2.3.0", "rxjs": "^6.6.3", "stacktrace-parser": "0.1.4" },
When I try to do ImapLogin the application crashes.
First in the example of imapLogin is missing the authType as parameter (which is Int as I can see) for which I get error:
Fatal Exception: com.facebook.react.bridge.NoSuchKeyException authType
Then when I add the authType as parameter (regardless of its value 0 or 1 (I assume that this is for SSL/TLS purposes)) I get following error:java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.allmail-zkP83QQ4Btp_M5Uojry5Iw==/lib/x86/libMailCore.so" has text relocations
Is there any fix for this present?