We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2becd70 commit 072d3a1Copy full SHA for 072d3a1
.gitignore
@@ -1,4 +1,5 @@
1
-node_modules/**/*
+/node_modules
2
+/npm-debug.log
3
4
# Xcode
5
#
README.md
@@ -56,7 +56,19 @@ protected void onCreate(Bundle savedInstanceState) {
56
}
57
```
58
59
-### 5. Use in your JS
+### 5. Make sure the ``AndroidManifest.xml`` file has `INTERNET` and `ACCESS_NETWORK_STATE` permissions:
60
+
61
+```xml
62
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
63
+ package="com.example.analytics">
64
65
+ <uses-permission android:name="android.permission.INTERNET" />
66
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
67
68
+</manifest>
69
+```
70
71
+### 6. Use in your JS
72
73
```js
74
var RNGoogleAnalytics = require('react-native').NativeModules.RNGoogleAnalytics;
0 commit comments