Skip to content

Commit

Permalink
feat: add support for new React Native architecture
Browse files Browse the repository at this point in the history
- example for android is working as well
  • Loading branch information
salah ghanim committed Apr 13, 2024
1 parent 39fd4e6 commit 1310985
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=true

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
16 changes: 16 additions & 0 deletions example/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ module.exports = {
},
},
project: {
android: {
unstable_reactLegacyComponentNames: [
'AIRMap',
'AIRMapCallout',
'AIRMapCalloutSubview',
'AIRMapCircle',
'AIRMapHeatmap',
'AIRMapLocalTile',
'AIRMapMarker',
'AIRMapOverlay',
'AIRMapPolygon',
'AIRMapPolyline',
'AIRMapUrlTile',
'AIRMapWMSTile',
],
},
ios: {
unstable_reactLegacyComponentNames: [
'AIRMap',
Expand Down

0 comments on commit 1310985

Please sign in to comment.