diff --git a/examples/TestNamiTV/index.tsx b/examples/TestNamiTV/index.js similarity index 93% rename from examples/TestNamiTV/index.tsx rename to examples/TestNamiTV/index.js index 265260f3..00d34f31 100644 --- a/examples/TestNamiTV/index.tsx +++ b/examples/TestNamiTV/index.js @@ -15,7 +15,7 @@ console.log('configDict', configDict); const Root = () => { const [isConfigurationComplete, setIsConfigurationComplete] = useState(); useEffect(() => { - Nami.configure(configDict, (resultObject: any) => { + Nami.configure(configDict, (resultObject) => { setIsConfigurationComplete(resultObject.success); }); // eslint-disable-next-line @typescript-eslint/no-empty-function diff --git a/examples/TestNamiTV/package.json b/examples/TestNamiTV/package.json index fd381920..c07d1da3 100644 --- a/examples/TestNamiTV/package.json +++ b/examples/TestNamiTV/package.json @@ -10,6 +10,7 @@ "ios-clean": "cd ios && rm -rf Pods && rm -rf build", "ios-setup-clean": "cd ios && rm -rf Pods && rm -rf build && pod update && pod install", "start": "react-native start", + "start:legacy": "NODE_OPTIONS=--openssl-legacy-provider react-native start --reset-cache", "test": "jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" },