@yuno-payments/yuno-sdk-react-native 1.0.31-beta.5 → 1.0.31-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,10 +196,12 @@ class YunoSdkModule(private val reactContext: ReactApplicationContext) :
196
196
  */
197
197
  private fun ensureEdgeToEdgeConfigured(activity: Activity) {
198
198
  if (Build.VERSION.SDK_INT >= 35 && activity is ComponentActivity) {
199
- try {
200
- activity.enableEdgeToEdge()
201
- } catch (e: Exception) {
202
- Log.w(TAG, "Failed to configure edge-to-edge: ${e.message}")
199
+ activity.runOnUiThread {
200
+ try {
201
+ activity.enableEdgeToEdge()
202
+ } catch (e: Exception) {
203
+ Log.w(TAG, "Failed to configure edge-to-edge: ${e.message}")
204
+ }
203
205
  }
204
206
  }
205
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/yuno-sdk-react-native",
3
- "version": "1.0.31-beta.5",
3
+ "version": "1.0.31-beta.6",
4
4
  "description": "Yuno React Native SDK empowers you to create seamless payment experiences in your native Android and iOS apps built with React Native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",