Skip to content

Commit

Permalink
release: Amplify JS release (#11556)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblanc authored Jun 28, 2023
2 parents fe1c1e3 + 60f7d3d commit d10780f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/Platform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ class PlatformBuilder {
}

get isReactNative() {
return this.framework === Framework.ReactNative;
return (
this.framework === Framework.ReactNative ||
this.framework === Framework.Expo
);
}

observeFrameworkChanges(fcn: () => void) {
Expand Down

0 comments on commit d10780f

Please sign in to comment.