$ react-native link @react-native-seoul/naver-login
android/app/src/main/java/[...]/MainApplication.java
Add import com.dooboolab.naverlogin.RNNaverLoginPackage;
to the imports at the top of the file
Add new RNNaverLoginPackage()
to the list returned by the getPackages()
method
List<ReactPackage> packages = new PackageList(this).getPackages();
packages.add(new RNNaverLoginPackage());
Append the following lines to android/settings.gradle
:
include ':react-native-seoul-naver-login'
project(':react-native-seoul-naver-login').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-seoul/naver-login/android')
Insert the following lines inside the dependencies block in android/app/build.gradle
:
implementation project(':react-native-seoul-naver-login')