Aaron Chiu and Facebook Github Bot 7
705daabbb1
Reverted commit D3334273
...
Reviewed By: astreet
Differential Revision: D3334273
fbshipit-source-id: a3849604ea89db74900850c294685e7da9aeeacc
2016-08-12 15:58:31 -07:00
Aaron Chiu and Facebook Github Bot 2
c64213653e
Convert modules to use @ReactModule instead of getName()
...
Reviewed By: astreet
Differential Revision: D3334273
fbshipit-source-id: a33bf72c5c184844885ef3ef610a05d9c102c8ea
2016-08-11 15:58:43 -07:00
Andrei Coman and facebook-github-bot-4
36400807ab
Remove unused variable
...
Reviewed By: bestander
Differential Revision: D2971225
fb-gh-sync-id: 827d4403d436ec74043e2dde02e19513f7bf811f
shipit-source-id: 827d4403d436ec74043e2dde02e19513f7bf811f
2016-02-24 10:49:33 -08:00
Satyajit Sahoo and facebook-github-bot-9
14ec6f011e
Use promises in 'NetInfo'
...
Reviewed By: svcscm
Differential Revision: D2938010
fb-gh-sync-id: 4a24ce680b37e49759f3325987b4b440eb033b94
shipit-source-id: 4a24ce680b37e49759f3325987b4b440eb033b94
2016-02-15 13:34:33 -08:00
Nathan Spaun and facebook-github-bot-5
ca8792d2cc
Add check to broadcast receiver to prevent exception
...
Reviewed By: andreicoman11
Differential Revision: D2876479
fb-gh-sync-id: 55b7e31a91cf8a05849a0876bf912ac931233638
2016-01-28 15:51:34 -08:00
Martin Konicek
581434ac04
Add BUCK files
2016-01-22 16:20:13 +00:00
Martin Konicek and facebook-github-bot-7
f168fc335e
Don't insta-crash when network permission is missing
...
Summary:
public
Rename the `ConnectivityModule` to `NetInfoModule` (there's
no need to name things differently in two places). Add exception
handling to the module in case the network permission is missing.
When the permission is missing, throw an actionable error from
all calls to `NetInfo`: http://imgur.com/zVIMxOV
Without this change, the app immediately crashes on startup:
`getCurrentConnectionType` is called from `Activity.onResume`.
Reviewed By: andreicoman11, bestander
Differential Revision: D2749230
fb-gh-sync-id: 1b752d21a8f28ffeaf60a3322cb76f869dc70a14
2015-12-11 10:29:23 -08:00
Andrei Coman and facebook-github-bot-4
5aef380609
Refactor NetInfo
...
Reviewed By: foghina
Differential Revision: D2718059
fb-gh-sync-id: 5c4e946991be27c5ae2bcc3eec32b5bc596545bd
2015-12-08 04:56:26 -08:00
Konstantin Raev and facebook-github-bot-4
0779dd1e87
Open source the Android NetInfo module
...
Reviewed By: mkonicek
Differential Revision: D2703432
fb-gh-sync-id: 4a85844f1734ec433df543c89f0fdd56fe5db13c
2015-12-02 11:52:22 -08:00