Skip to content

Commit 4232020

Browse files
qbigfacebook-github-bot-5
authored and
facebook-github-bot-5
committed
fix android movie example by adding missing permission
Summary: ```log 12-10 04:15:40.321 1482-1482/com.facebook.react.movies E/AndroidRuntime: FATAL EXCEPTION: main Process: com.facebook.react.movies, PID: 1482 java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) } in com.facebook.react.modules.netinfo.ConnectivityModule$ConnectivityBroadcastReceiver@529210a0 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at Closes facebook#4694 Reviewed By: svcscm Differential Revision: D2743536 Pulled By: androidtrunkagent fb-gh-sync-id: 7d93ca701c3d6b17add370ab13a68b150910e6a6
1 parent 96c9ce8 commit 4232020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Examples/Movies/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package="com.facebook.react.movies">
33

44
<uses-permission android:name="android.permission.INTERNET" />
5+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
56

67
<application
78
android:allowBackup="true"

0 commit comments

Comments
 (0)