<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008chHd4SAEOkta Classic EngineSingle Sign-OnAnswered2021-01-07T16:20:39.000Z2020-06-03T05:00:55.000Z2021-01-07T16:20:39.000Z

RaviA.34990 (Customer) asked a question.

Okta oidc not working on real android devices for React Native project.

I installed `"@okta/okta-react-native": "1.4.0"` in my React Native Project (v0.62.2). The OIDC works perfectly for any version of API level in Android Virtual Devices, but when I try to run the same project on a real device, then the popup to login never appears.

All versions related to this issue are:

  • React Native: 0.62.2
  • @okta/okta-react-native: 1.4.0
  • Android Version (Real device): 7.0 *(Not working in this device)
  • Android Version (Real device): 10.0 *(Not working in this device)
  • npm: 10.18.0

Tested successfully on following AVDs:

  • Api level 27
  • Api level 28
  • Api level 29

 

This issue only appears on Android real devices, not in simulators or in iOS environments.

After generating a release apk to test on real devices:

  • Works on real device with Android version 10.0
  • Doesn't work on real device with Android version 7.0

Is this have to do something with the minimum sdk which we provide in `build.gradle` i.e, 19 for my project or any other reason?


This question is closed.
Loading
Okta oidc not working on real android devices for React Native project.