Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Update Android.ts (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon authored Apr 18, 2020
1 parent cbfcb87 commit 15899ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uri-scheme/src/Android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function addAsync({

if (!Scheme.ensureManifestHasValidIntentFilter(manifest)) {
throw new CommandError(
`Cannot add scheme "${uri}" because the provided manifest does not have a valid Activity with \`android:launchMode="singleTask"\``,
`Cannot add scheme "${uri}" because the provided manifest does not have a valid Activity with \`android:launchMode="singleTask"\`.\nThis guide can help you get setup properly https://expo.fyi/setup-android-uri-scheme`,
'add'
);
}
Expand Down Expand Up @@ -67,7 +67,7 @@ export async function removeAsync({

if (!Scheme.ensureManifestHasValidIntentFilter(manifest)) {
throw new CommandError(
`Cannot remove scheme "${uri}" because the provided manifest does not have a valid Activity with \`android:launchMode="singleTask"\``,
`Cannot remove scheme "${uri}" because the provided manifest does not have a valid Activity with \`android:launchMode="singleTask"\`.\nThis guide can help you get setup properly https://expo.fyi/setup-android-uri-scheme`,
'remove'
);
}
Expand Down

0 comments on commit 15899ba

Please sign in to comment.