Skip to content

Commit

Permalink
fix: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
ramananddigio committed Nov 14, 2023
1 parent 4b24508 commit 722f94b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- digio-react-native (1.0.0):
- digio-react-native (1.0.2):
- DigiokycSDK (~> 1.1.0)
- RCT-Folly (= 2021.07.22.00)
- React-Core
Expand Down Expand Up @@ -665,7 +665,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
boost: 57d2868c099736d80fcd648bf211b4431e51a558
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
digio-react-native: f2d50a3df1f7fbd67b16261f6f9fd77775001d97
digio-react-native: 73116549ab0c7eabc7b41e476b5f09b96f5143f5
DigiokycSDK: 5a7ec13373347fce316fb22c97fa64e48c07437c
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: 748c0ef74f2bf4b36cfcccf37916806940a64c32
Expand Down
10 changes: 7 additions & 3 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';

import { StyleSheet, View, Text } from 'react-native';
import { Digio, Environment } from 'digio-react-native';
import type { GatewayEvent } from 'digio-react-native';
import { Digio, Environment } from '@digiotech/react-native';
import type { GatewayEvent } from '@digiotech/react-native';

export default function App() {
React.useEffect(() => {
Expand All @@ -14,7 +14,11 @@ export default function App() {
}
);
digio
.start('', '', '')
.start(
'KID231030124448842XMIZVCXZS9EX67',
'[email protected]',
'GWT2310301244520089UKGFPMP7WQUV4'
)
.then((res) => {
console.log(res);
})
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"rootDir": ".",
"paths": {
"digio-react-native": ["./src/index"]
"@digiotech/react-native": ["./src/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand Down

0 comments on commit 722f94b

Please sign in to comment.