Skip to content

Commit

Permalink
fix: improve error message (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Nov 17, 2023
1 parent e3ccbfd commit 2277e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GoogleSignin.ts
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 2277e67

Please sign in to comment.