Skip to content

Commit

Permalink
Merge pull request #377 from chenlevy24/stringResource
Browse files Browse the repository at this point in the history
Web share target support - string resources save
  • Loading branch information
PEConn authored Oct 27, 2020
2 parents e6f4408 + 30834ad commit 618cdde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/template_project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ android {
resValue "string", "webManifestUrl", '<%= webManifestUrl %>'
<% } %>

<% if (twaManifest.webShare) { %>
// The data for the app to support web share target.
resValue "string", "webShare", twaManifest.webShare
<% } %>

// The hostname is used when building the intent-filter, so the TWA is able to
// handle Intents to open https://svgomg.firebaseapp.com.
resValue "string", "hostName", twaManifest.hostName
Expand Down

0 comments on commit 618cdde

Please sign in to comment.