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

Commit 26fc93b

Browse files
authored
✨ Feature / release 2024 integrations support (#19)
* ignore pbxproj file * ensure start with unloaded view * ignore types files * ignore js repository resources * ignore gradlew files * ignore linking error * change user hook from function to direct value * inform about change in README file * update code example * rollback version * redefine publish config * rollback to specific version
1 parent a62e92b commit 26fc93b

File tree

15 files changed

+9273
-19574
lines changed

15 files changed

+9273
-19574
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,15 @@ android/keystores/debug.keystore
7878
lib/
7979

8080
example/.yarn
81+
example/ios/CryptrReactNativeExample.xcodeproj/project.pbxproj
8182

8283
.env
8384

8485

8586
coverage/
87+
88+
*.dt.ts
89+
90+
*.npmrc
91+
.yarnrc
92+
example/android/gradlew*

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The return type is a <u>**key/value pair Object.**</u>
166166
const { user } = useCryptr()
167167

168168
// ...
169-
user()
169+
user?.email
170170
```
171171
172172
#### accessToken
@@ -315,3 +315,5 @@ Configuration change
315315
Components/hooks
316316
317317
If you either used `signInWithDomain()` hook or `<CryptrGatewayButton/>` component without `domain` parameter, please use now `signIn` or `<SignInButton/>` accordingly
318+
319+
For easier usage of `user` hook this one changed from function `() => User | undefined`, now it's directly a `User | undefined`

example/android/gradlew.bat

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)