Skip to content

Commit

Permalink
align react-native naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-quiltt committed Nov 3, 2023
1 parent 157e37a commit 0ee4d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ECMAScript/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"repository": {
"type": "git",
"url": "https://github.com/quiltt/quiltt-public.git",
"directory": "ECMAScript/react_native"
"directory": "ECMAScript/react-native"
},
"homepage": "https://github.com/quiltt/quiltt-public/tree/main/ECMAScript/react-native#readme",
"scripts": {
"build": "tsup",
"clean": "rimraf .turbo dist",
Expand Down
2 changes: 1 addition & 1 deletion ECMAScript/react-native/src/components/QuilttConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const QuilttConnector = ({
const webViewRef = useRef<WebView>(null)
const { session } = useQuilttSession()
oauthRedirectUrl = encodeURIComponent(oauthRedirectUrl)
const connectorUrl = `https://${connectorId}.quiltt.app/?mode=webview&oauth_redirect_url=${oauthRedirectUrl}&sdk=react_native` // @todo append version from package.json
const connectorUrl = `https://${connectorId}.quiltt.app/?mode=webview&oauth_redirect_url=${oauthRedirectUrl}&sdk=react-native` // @todo append version from package.json

const initInjectedJavaScript = useCallback(() => {
const script = `\
Expand Down

0 comments on commit 0ee4d03

Please sign in to comment.