Skip to content

Commit

Permalink
Release 1.0.8
Browse files Browse the repository at this point in the history
Added: support to latest versions of RN
  • Loading branch information
Sebastian Pernett committed Oct 7, 2019
1 parent 72e1d76 commit 5cf3577
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ios/RNWifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
// - Make sure the NetworkExtension framework is linked to the target

#import <Foundation/Foundation.h>
#import <RCTBridgeModule.h>
#if __has_include(<React/RCTBridgeModule.h>) // React Native >= 0.40
#import <React/RCTBridgeModule.h>
#else // React Native < 0.40
#import "RCTBridgeModule.h"
#endif

@interface WifiManager : NSObject <RCTBridgeModule>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-wifi",
"version": "1.0.7",
"version": "1.0.8",
"description": "A react-native implementation for viewing and connecting to Wifi networks on Android and iOS devices.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5cf3577

Please sign in to comment.