You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
() is not public in ReactContext; cannot be accessed from outside package
Context context = getReactApplicationContext().getCurrentActivity();
^
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:70: error: cannot find symbol
configuration.setTestDeviceIds(Arguments.toList(config.getArray("testDeviceIds")));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:29: error: cannot find symbol
List list = Arguments.toList(target.getArray("value"));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:58: error: cannot find symbol
List list = Arguments.toList(options.getArray("neighboringContentUrls"));
^
symbol: method toList(ReadableArray)
location: class Arguments
Version
0.69.1
Output of npx react-native info
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:42: error: getCurrentActivity() is not public in ReactContext; cannot be accessed from outside package
Context context = getReactApplicationContext().getCurrentActivity();
^
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:70: error: cannot find symbol
configuration.setTestDeviceIds(Arguments.toList(config.getArray("testDeviceIds")));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:29: error: cannot find symbol
List list = Arguments.toList(target.getArray("value"));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:58: error: cannot find symbol
List list = Arguments.toList(options.getArray("neighboringContentUrls"));
^
symbol: method toList(ReadableArray)
Steps to reproduce
npx react-native run-android on fabric with new architecture enable
d
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered:
Description
() is not public in ReactContext; cannot be accessed from outside package
Context context = getReactApplicationContext().getCurrentActivity();
^
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:70: error: cannot find symbol
configuration.setTestDeviceIds(Arguments.toList(config.getArray("testDeviceIds")));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:29: error: cannot find symbol
List list = Arguments.toList(target.getArray("value"));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:58: error: cannot find symbol
List list = Arguments.toList(options.getArray("neighboringContentUrls"));
^
symbol: method toList(ReadableArray)
location: class Arguments
Version
0.69.1
Output of
npx react-native info
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:42: error: getCurrentActivity() is not public in ReactContext; cannot be accessed from outside package
Context context = getReactApplicationContext().getCurrentActivity();
^
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\RNAdmobNativeAdsManager.java:70: error: cannot find symbol
configuration.setTestDeviceIds(Arguments.toList(config.getArray("testDeviceIds")));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:29: error: cannot find symbol
List list = Arguments.toList(target.getArray("value"));
^
symbol: method toList(ReadableArray)
location: class Arguments
C:\Cliqueon\node_modules\react-native-admob-native-ads\android\src\main\java\com\ammarahmed\rnadmob\nativeads\Utils.java:58: error: cannot find symbol
List list = Arguments.toList(options.getArray("neighboringContentUrls"));
^
symbol: method toList(ReadableArray)
Steps to reproduce
npx react-native run-android on fabric with new architecture enable
d
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: