Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/JuanSeBestia/react-native-wifi-reborn
/ functions
Functions
115 in github.com/JuanSeBestia/react-native-wifi-reborn
⨍
Functions
115
◇
Types & classes
25
↓ 8 callers
Method
disconnect
()
lib/types/index.d.ts:313
↓ 6 callers
Method
assertLocationPermissionGranted
(final Promise promise)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:786
↓ 5 callers
Method
isAndroidTenOrLater
@return true if the current sdk is above or equal to Android Q
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:745
↓ 3 callers
Method
removeWifiNetwork
(final String SSID, final Promise promise, final Runnable onSuccess, final int timeout)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:501
↓ 2 callers
Method
connectToWifiDirectly
(@NonNull final String SSID, @NonNull final String password, final boolean isHidden, final int timeout, final
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:575
↓ 2 callers
Method
formatWithBackslashes
(final String value)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:782
↓ 2 callers
Method
getConnectionStatus
()
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:353
↓ 2 callers
Method
getCurrentWifiSSID
* Returns the name of the currently connected WiFi. When not connected, the promise will be or null when not connected.
lib/types/index.d.ts:236
↓ 2 callers
Method
getWifiSSID
()
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:725
↓ 2 callers
Method
isLocationPermissionGranted
Determine whether the location permission has been granted (ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION). Below Android M, will always return true
android/src/main/java/com/reactlibrary/rnwifi/utils/PermissionUtils.java:31
↓ 2 callers
Method
isNullOrEmpty
@return true if the value is null or empty
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:752
↓ 2 callers
Method
mapWifiScanResults
(final List<ScanResult> scanResults)
android/src/main/java/com/reactlibrary/rnwifi/mappers/WifiScanResultsMapper.java:24
↓ 2 callers
Method
pollForValidSSID
(int maxSeconds, String expectedSSID)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:709
↓ 2 callers
Method
selectNetwork
(final Network network, final ConnectivityManager manager)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:613
↓ 1 callers
Function
askLocationPermission
()
example/with-expo/App.tsx:9
↓ 1 callers
Function
askLocationPermission
()
example/RNWifiReborn/App.tsx:8
↓ 1 callers
Method
connectAndroidQ
(@NonNull final String SSID, @NonNull final String password, final boolean isHidden, final int timeout, final
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:621
↓ 1 callers
Method
connectPreAndroidQ
(@NonNull final String SSID, @NonNull final String password, final Promise promise)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:583
↓ 1 callers
Method
connectToProtectedSSID
* Connects to a WiFi network. Rejects with an error if it couldn't connect. * * @param SSID Wifi name. * @param password `n
lib/types/index.d.ts:210
↓ 1 callers
Method
connectToProtectedWifiSSID
* Connects to a WiFi network. Rejects with an error if it couldn't connect. * * @param options Connection options object containing,
lib/types/index.d.ts:231
↓ 1 callers
Method
forceWifiUsageWithOptions
Use this to execute api calls to a wifi network that does not have internet access. <p> Useful for commissioning IoT devices. <p> This will route all
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:124
↓ 1 callers
Method
getBSSID
* Returns the BSSID (basic service set identifier) of the currently connected WiFi network.
lib/types/index.d.ts:318
↓ 1 callers
Method
getFrequency
* Returns the frequency of the currently connected WiFi network.
lib/types/index.d.ts:328
↓ 1 callers
Method
isLocationOn
Determine whether Location is turned on. Below Android M, will always return true. @param context to determine with if location is on @return true if
android/src/main/java/com/reactlibrary/rnwifi/utils/LocationUtils.java:22
↓ 1 callers
Method
isLocationTurnedOn
Determine if location is turned on. @param context where from you determine if location is turned on @return true if location is turned on
android/src/main/java/com/reactlibrary/rnwifi/utils/LocationUtils.java:39
↓ 1 callers
Method
isMarshmallowOrLater
@return true if the current sdk is above or equal to Android M
android/src/main/java/com/reactlibrary/rnwifi/utils/PermissionUtils.java:39
↓ 1 callers
Method
isMarshmallowOrLater
@return true if the current sdk is above or equal to Android M
android/src/main/java/com/reactlibrary/rnwifi/utils/LocationUtils.java:29
↓ 1 callers
Method
isPermissionGranted
Determine whether the provided context has been granted a particular permission. @param context where from you determine if a permission is grante
android/src/main/java/com/reactlibrary/rnwifi/utils/PermissionUtils.java:50
↓ 1 callers
Method
longToIP
(int longIp)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:692
↓ 1 callers
Method
openWifiSettings
Use this to open a wifi settings panel. For Android Q and above.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:224
↓ 1 callers
Method
parseSSID
(final ScanResult scanResult)
android/src/main/java/com/reactlibrary/rnwifi/mappers/WifiScanResultsMapper.java:16
↓ 1 callers
Method
stuffWifiConfigurationWithWPA2
(final WifiConfiguration wifiConfiguration, final String password)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:756
↓ 1 callers
Method
stuffWifiConfigurationWithoutEncryption
(final WifiConfiguration wifiConfiguration)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:778
↓ 1 callers
Function
withAndroidPermissions
(config, props)
plugin/src/withWifi.ts:33
↓ 1 callers
Function
withIosPermissions
(c, _)
plugin/src/withWifi.ts:20
Function
App
()
example/with-expo/App.tsx:15
Function
App
()
example/RNWifiReborn/App.tsx:14
Function
ConnectToSSID
()
example/with-expo/components/ConnectToSSID.tsx:6
Function
ConnectToSSID
()
example/RNWifiReborn/components/ConnectToSSID.tsx:6
Function
CurrentSSID
()
example/with-expo/components/CurrentSSID.tsx:6
Function
CurrentSSID
()
example/RNWifiReborn/components/CurrentSSID.tsx:6
Function
Disconnect
()
example/with-expo/components/Disconnect.tsx:6
Function
Disconnect
()
example/RNWifiReborn/components/Disconnect.tsx:6
Method
LocationUtils
()
android/src/main/java/com/reactlibrary/rnwifi/utils/LocationUtils.java:13
Method
PermissionUtils
()
android/src/main/java/com/reactlibrary/rnwifi/utils/PermissionUtils.java:20
Method
RNWifiModule
(ReactApplicationContext context)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:74
Function
Section
({ title, children }: Props)
example/with-expo/components/Section.tsx:8
Function
Section
({ title, children }: Props)
example/RNWifiReborn/components/Section.tsx:8
Method
WifiScanResultReceiver
(@NonNull final WifiManager wifiManager, @NonNull final Promise promise)
android/src/main/java/com/reactlibrary/rnwifi/receivers/WifiScanResultReceiver.java:22
Method
WifiScanResultsMapper
()
android/src/main/java/com/reactlibrary/rnwifi/mappers/WifiScanResultsMapper.java:13
Method
connectToProtectedSSID
Use this to connect with a wifi network. Example: wifi.findAndConnect(ssid, password, false); The promise will resolve with the message 'connected' w
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:243
Method
connectToProtectedSSIDOnce
* Connects to a WiFi network, with option to limit connection lifetime. Rejects with an error if it couldn't connect. * * @param SSI
lib/types/index.d.ts:252
Method
connectToProtectedSSIDPrefix
* Connects to a WiFi network that start with SSIDPrefix. Rejects with an error if it couldn't connect. * * @param SSIDPrefix Wifi na
lib/types/index.d.ts:266
Method
connectToProtectedSSIDPrefixOnce
* Connects to a WiFi network that start with SSIDPrefix, with option to limit connection lifetime. Rejects with an error if it couldn't connect.
lib/types/index.d.ts:280
Method
connectToProtectedWifiSSID
Use this to connect with a wifi network. Example: wifi.findAndConnect(ssid, password, false); The promise will resolve with the message 'connected' w
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:268
Method
connectToSSID
(SSID: string)
lib/types/index.d.ts:240
Method
connectToSSIDPrefix
(SSIDPrefix: string)
lib/types/index.d.ts:241
Method
connectionStatus
* Returns if the device is currently connected to a WiFi network.
lib/types/index.d.ts:311
Method
connectionStatus
Returns if the device is currently connected to a WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:382
Method
createJSModules
()
android/src/main/java/com/reactlibrary/rnwifi/RNWifiPackage.java:23
Method
createNativeModules
(@NonNull ReactApplicationContext reactContext)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiPackage.java:15
Method
createReactActivityDelegate
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] * which allows you to enable New Architecture with a s
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainActivity.kt:32
Method
createReactActivityDelegate
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] * which allows you to enable New Architecture with a s
example/RNWifiReborn/android/app/src/main/java/com/rnwifireborn/MainActivity.kt:20
Method
createViewManagers
(@NonNull ReactApplicationContext reactContext)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiPackage.java:27
Method
disconnect
Disconnect currently connected WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:391
Method
disconnectFromSSID
(SSIDPrefix: string)
lib/types/index.d.ts:242
Method
failed
(@NonNull DisconnectionErrorCode errorCode)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:412
Method
forceWifiUsage
* @deprecated Use forceWifiUsageWithOptions.
lib/types/index.d.ts:346
Method
forceWifiUsage
(final boolean useWifi, final Promise promise)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:106
Method
forceWifiUsageWithOptions
* Use this to route all app network requests to the wifi network (instead of the mobile connection). * It is important to disable it again af
lib/types/index.d.ts:360
Method
getBSSID
Returns the BSSID (basic service set identifier) of the currently connected WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:454
Method
getCurrentSignalStrength
* Returns the RSSI (received signal strength indicator) of the currently connected WiFi network.
lib/types/index.d.ts:323
Method
getCurrentSignalStrength
Returns the RSSI (received signal strength indicator) of the currently connected WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:464
Method
getCurrentWifiSSID
This method will return current SSID @param promise to send error/result feedback
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:436
Method
getFrequency
Returns the frequency of the currently connected WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:473
Method
getIP
* Returns the IP of the currently connected WiFi network.
lib/types/index.d.ts:333
Method
getIP
Returns the IP of the currently connected WiFi network.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:483
Method
getJSMainModuleName
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainApplication.kt:33
Method
getJSMainModuleName
example/RNWifiReborn/android/app/src/main/java/com/rnwifireborn/MainApplication.kt:25
Method
getMainComponentName
* Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainActivity.kt:26
Method
getMainComponentName
* Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */
example/RNWifiReborn/android/app/src/main/java/com/rnwifireborn/MainActivity.kt:14
Method
getName
()
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:82
Method
getPackages
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainApplication.kt:27
Method
getPackages
example/RNWifiReborn/android/app/src/main/java/com/rnwifireborn/MainApplication.kt:19
Method
getUseDeveloperSupport
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainApplication.kt:35
Method
getUseDeveloperSupport
example/RNWifiReborn/android/app/src/main/java/com/rnwifireborn/MainApplication.kt:27
Function
handleConnect
()
example/with-expo/components/ConnectToSSID.tsx:13
Function
handleConnect
()
example/RNWifiReborn/components/ConnectToSSID.tsx:13
Function
handleDisconnect
()
example/with-expo/components/Disconnect.tsx:10
Function
handleDisconnect
()
example/RNWifiReborn/components/Disconnect.tsx:10
Function
handleFetch
()
example/with-expo/components/CurrentSSID.tsx:9
Function
handleFetch
()
example/RNWifiReborn/components/CurrentSSID.tsx:9
Method
invokeDefaultOnBackPressed
* Align the back button behavior with Android S * where moving root activities to background instead of finishing activities. * @see <a href="
example/with-expo/android/app/src/main/java/com/rnwifi/withexpo/MainActivity.kt:48
Method
isEnabled
* Method to check if wifi is enabled.
lib/types/index.d.ts:304
Method
isEnabled
Method to check if wifi is enabled.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:196
Method
isRemoveWifiNetwork
* This method will remove the wifi network configuration. * If you are connected to that network, it will disconnect. * * @
lib/types/index.d.ts:341
Method
isRemoveWifiNetwork
This method will remove the wifi network configuration. If you are connected to that network, it will disconnect. @param SSID wifi SSID to remove con
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:496
Method
loadWifiList
* Returns a list of nearby WiFI networks.
lib/types/index.d.ts:294
Method
loadWifiList
Returns a list of nearby WiFI networks.
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:91
Method
onAvailable
(@NonNull final Network network)
android/src/main/java/com/reactlibrary/rnwifi/RNWifiModule.java:168
next →
1–100 of 115, ranked by callers