#34 Change use of deprecated NetworkInfo enhancement (#38)

* replace NetworkInto with the ConnectivityManager. Since this network validation is being done at repository level, I've had to add the network dependency on it's own AndroidManifest.

* moved network_state_permission from repository manifest to app's manifest.
removed wildcard imports.
now, network_info it's been provided and not the connectivity_manager
This commit is contained in:
Victor Vicari
2019-09-24 11:04:02 -03:00
committed by Melih Aksoy
parent 9aa7a5b25f
commit 8344e7f94b
3 changed files with 8 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
package="com.melih.rocketscience">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:name=".App"