Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

React Native - App hang when using SDK in release mode, but work in debugger (everything works for API) #29

Description

@shenlongdemon

I used SDK for Android, I could Authenticate but after that, after few actions, it makes app hang (but can swipe drawer menu -sometime is not). i could not tap or do anything
But when i enable debugger, everything works fine (not work in release mode)

Android >= 10 did not work (not works in release, but works in debug)
Android <= 9 works correct (works in release mode and debug mode)

For now, i used

implementation 'com.fiskaly.sdk:fiskaly-sdk:1.2.100-android'
implementation files('libs/com.fiskaly.client-android-all-v1.2.100.aar')

with android/app/proguard-rules.pro is

-keepclassmembers class * extends com.sun.jna.* { public *; }
-keep class com.sun.jna.* { *; }

And android/app/src/main/AndroidManifest.xml is

      android:usesCleartextTraffic="true"

Thank you, all

Android

    buildToolsVersion = "28.0.3"
    minSdkVersion = 21
    compileSdkVersion = 29
    targetSdkVersion = 29
    supportLibVersion = "28.0.0"

React Native Info
React Native Environment Info:
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 982.01 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.1 - /usr/local/bin/node
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 19, 22, 23, 26, 27, 28, 29, 30
Build Tools: 23.0.1, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2
System Images: android-22 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.8.4 => 16.8.4
react-native: 0.59.2 => 0.59.2
npmGlobalPackages:
react-native-cli: 2.0.1

Dependencies

"@babel/plugin-proposal-decorators": "7.4.0",
   "@react-native-community/async-storage": "1.5.0",
   "@react-native-community/netinfo": "5.0.0",
   "@react-native-firebase/analytics": "10.4.1",
   "@react-native-firebase/app": "10.4.0",
   "@react-native-firebase/messaging": "10.4.1",
   "@sentry/react-native": "^1.8.2",
   "@tradle/react-native-http": "^2.0.1",
   "@types/axios": "0.14.0",
   "@types/react-redux": "^7.1.8",
   "assert": "^1.5.0",
   "asyncstorage-down": "^4.2.0",
   "aws-sdk": "^2.604.0",
   "babel-plugin-transform-remove-console": "6.9.4",
   "browserify-zlib": "^0.1.4",
   "buffer": "^4.9.2",
   "console-browserify": "^1.2.0",
   "constants-browserify": "^1.0.0",
   "dns.js": "1.0.1",
   "domain-browser": "1.2.0",
   "formik": "1.3.1",
   "https-browserify": "0.0.1",
   "intl": "1.2.5",
   "inversify": "4.13.0",
   "jetifier": "^1.6.5",
   "mitt": "1.2.0",
   "moment": "2.23.0",
   "moment-timezone": "0.5.32",
   "native-base": "2.12.1",
   "path-browserify": "0.0.0",
   "process": "0.11.10",
   "prop-types": "^15.7.2",
   "punycode": "1.4.1",
   "querystring-es3": "0.2.1",
   "react": "16.8.4",
   "react-devtools": "3.6.3",
   "react-native": "0.59.2",
   "react-native-actionsheet": "2.4.2",
   "react-native-config": "0.11.5",
   "react-native-crypto": "2.2.0",
   "react-native-datepicker": "1.7.2",
   "react-native-device-info": "5.5.6",
   "react-native-dropdown-picker": "^3.7.0",
   "react-native-extra-dimensions-android": "1.2.5",
   "react-native-floating-action": "1.13.0",
   "react-native-fs": "^2.16.6",
   "react-native-gesture-handler": "1.0.16",
   "react-native-globalize": "3.0.0",
   "react-native-htmlview": "^0.16.0",
   "react-native-immersive": "2.0.0",
   "react-native-keyboard-aware-scroll-view": "0.8.0",
   "react-native-level-fs": "3.0.1",
   "react-native-localization": "2.1.1",
   "react-native-localize": "2.0.1",
   "react-native-material-dropdown": "0.11.1",
   "react-native-modal": "9.0.0",
   "react-native-multiple-select": "^0.5.5",
   "react-native-orientation-locker": "1.1.7",
   "react-native-os": "1.2.6",
   "react-native-popup-menu": "0.14.2",
   "react-native-randombytes": "3.5.3",
   "react-native-reanimated": "^1.9.0",
   "react-native-screens": "^2.8.0",
   "react-native-splash-screen": "3.2.0",
   "react-native-svg": "^12.1.0",
   "react-native-svg-transformer": "^0.14.3",
   "react-native-swipe-gestures": "1.0.3",
   "react-native-swipe-list-view": "^3.2.3",
   "react-native-swipeable-flat-list": "0.0.5",
   "react-native-swiper": "^1.6.0",
   "react-native-tcp": "3.3.2",
   "react-native-textinput-effects": "^0.6.1",
   "react-native-udp": "2.7.0",
   "react-native-vector-icons": "6.0.2",
   "react-native-webview": "^10.3.2",
   "react-native-zip-archive": "4.1.5",
   "react-navigation": "3.13.0",
   "react-redux": "^7.2.0",
   "react-timer-mixin": "0.13.4",
   "readable-stream": "1.0.33",
   "redux": "^4.0.5",
   "redux-thunk": "^2.3.0",
   "reflect-metadata": "0.1.12",
   "rn-fetch-blob": "^0.12.0",
   "safe-json-stringify": "1.2.0",
   "stream-browserify": "1.0.0",
   "string_decoder": "^0.10.31",
   "timers-browserify": "1.4.2",
   "tty-browserify": "0.0.0",
   "url": "^0.10.3",
   "uuid": "3.3.2",
   "vm-browserify": "0.0.4",
   "yup": "0.26.6"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions