Closed dzuluaga closed 1 month ago
Hey @dzuluaga,
ios
part of the config is used only for the iOS platform and the same goes for Android. This is a design decision as some of the common keys between platforms will have different values based on the platform. You must have done something else to fix
your problem, here is the implementation reference:
Android code: https://github.com/openmobilehub/react-native-omh-auth/blob/main/packages/core/src/AndroidAuthModule.ts#L30 iOS code: https://github.com/openmobilehub/react-native-omh-auth/blob/main/packages/core/src/IOSAuthModule.ts#L39
Thanks, @Esemesek. Strange. It's working okay using process.env
. Will keep it monitored.
Hey @dzuluaga, there was bug that required the user to have the provider secrets stored in the process.env
. It was fixed in https://github.com/openmobilehub/react-native-omh-auth/commit/c65886ae6b328ca0a380b38b3128368f9818dd07. Maybe it caused the issue you were facing...
Thanks, @andrei-zgirvaci for the heads. Will try it again later this week.
The following JSON definition tags
ios
. However, I was able to fix the issue in Android by modifying this section. Clearly, this section also applies to the Android app configuration. Would it be possible to modify the attribute name to make it clear that theios
section applies to both platforms?Here is the current configuration:
Proposed Change:
Modify the attribute name to indicate that it applies to both iOS and Android, ensuring clarity in the configuration. For instance:
Thank you!