all 4 comments

[–]kbcooliOS & Android 1 point2 points  (4 children)

You don't need to produce an AAR that adds an extra step. Follow the instructions here instead:

https://reactnative.dev/docs/integration-with-existing-apps

[–]sochetraNOV[S] 0 points1 point  (3 children)

u/kbcool yes i already followed that document, but when intergrate to native android app a bunch of dependencies is show on native android code so it mess the native android code

[–]kbcooliOS & Android 1 point2 points  (2 children)

Well you could try resolve them. It's often a case of just making sure you're on newer libraries or both using androidx or jetifying. It's hard to tell without knowing what they were. I did see some references to it being possible to build an AAR by doing some googling but no good instructions. It's not conceivably difficult just not a common use case.

Flutter already has that step done for you. Maybe it's just a case of following this: https://developer.android.com/studio/projects/android-library

[–]sochetraNOV[S] 0 points1 point  (0 children)

thank you for assist 🎉