react-native-external-keyboard 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -194,7 +194,9 @@ Class<RCTComponentViewProtocol> ExternalKeyboardViewCls(void)
194
194
  }
195
195
 
196
196
  - (UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location API_AVAILABLE(ios(13.0)){
197
- self.onContextMenuPress(@{});
197
+ if(self.onContextMenuPress){
198
+ self.onContextMenuPress(@{});
199
+ }
198
200
  return nil;
199
201
  }
200
202
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-external-keyboard",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Toolkit for improving physical keyboard support in React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",