When I'm adding third party components to React Native apps, such as this one, it often says that because of auto-linking, you do not have to follow the manual linking steps. For Android, I notice that none of the code added in the manual linking steps, such as adding code to MainApplication.java, none of it gets added automatically.
Can anyone explain what's going on here? Do I need to do the manual linking steps for Android despite auto-linking?
for android, it doesn't need linking. since react-native 0.6, the auto-link doesn't directly add int
MainApplication.java.in android settings.gradle, you can see this code:
in the
native_modules.gradleit will add the package. the code is complex. I read some days, only know a little. but we can get from the name and comment.in the end, we only should know we don't need the link.