Skip to content

Commit

Permalink
fix: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Nov 17, 2023
1 parent 7f3bdf6 commit 6e4e2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GoogleSignin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class GoogleSignin {

constructor() {
if (__DEV__ && !RNGoogleSignin) {
console.error(
`RN GoogleSignin native module is not correctly linked. Please read the readme, setup and troubleshooting instructions carefully or try manual linking.`,
throw new Error(
`RN GoogleSignin native module is not correctly linked. Please read the readme, setup and troubleshooting instructions carefully.\nIf you are using Expo, make sure you are using Custom dev client, not Expo go.`,
);
}
}
Expand Down

0 comments on commit 6e4e2e4

Please sign in to comment.