Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 03965e9

Browse files
author
Will Anderson
committed
Use new method for requiring NativeModules
1 parent 896eb36 commit 03965e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HybridMobileDeploy.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
'use strict';
77

8-
var NativeHybridMobileDeploy = require('NativeModules').HybridMobileDeploy;
8+
var NativeHybridMobileDeploy = require('react-native').NativeModules.HybridMobileDeploy;
99
var requestFetchAdapter = require("./request-fetch-adapter.js");
1010
var semver = require('semver');
1111
var Sdk = require("hybrid-mobile-deploy-sdk/script/acquisition-sdk");

0 commit comments

Comments
 (0)