internal/external behaves different on android/ios
Back to All

internal/external behaves different on android/ios

Hi, folks!

I am using the go-native android package: 'com.github.gonativeio:gonative-android-library:1.1.7'

and noticing a different behavior when calling gonative.internalExternal.set({ rules: regexUrlList }).

for iOS, it works as expected. The object reaches the native side as: { rules: [list] } }.

for Android, it seems to reach the native side as: { rules: { rules: [list] } }.

is this is a known bug in this version? asking because we need to be aware of this for users using an old app version.

thanks in advance!