Skip to content

Commit 885f815

Browse files
authored
Fix iOS input handling (#175)
1 parent 8ed0d2d commit 885f815

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/@babylonjs/react-native/ios/BabylonNativeInterop.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ @interface RCTBridge (RCTTurboModule)
2424

2525
@implementation BabylonNativeInterop
2626

27-
static NSMutableArray* activeTouches;
27+
static NSMutableArray* activeTouches = [NSMutableArray new];
2828

2929
+ (void)initialize:(RCTBridge*)bridge {
3030
auto jsCallInvoker{ bridge.jsCallInvoker };

Modules/@babylonjs/react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"semver": "^7.3.2"
2929
},
3030
"peerDependencies": {
31-
"@babylonjs/core": "^5.0.0-alpha.9",
31+
"@babylonjs/core": "^5.0.0-alpha.13",
3232
"react": "^16.13.1",
3333
"react-native": "^0.63.1",
3434
"react-native-permissions": "^2.1.4"

0 commit comments

Comments
 (0)