diff --git a/README.md b/README.md index cf608a5..55a7026 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ ``` 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: ``` - compile project(':react-native-wifi') + implementation project(':react-native-wifi') ``` @@ -53,4 +53,4 @@ WifiManager.getCurrentWifiSSID() console.log('Cannot get current SSID!') }) ``` - \ No newline at end of file + diff --git a/android/build.gradle b/android/build.gradle index 3402358..20368ec 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,6 +13,6 @@ android { } dependencies { - compile 'com.facebook.react:react-native:+' + implementation 'com.facebook.react:react-native:+' } - \ No newline at end of file +