Skip to content

Commit

Permalink
Merge pull request #470 from SayedElabady/fix-source-origin-comment
Browse files Browse the repository at this point in the history
Fix source origin comment
  • Loading branch information
andreban authored May 16, 2024
2 parents 7a2953b + 34ed182 commit 6d1272a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ public class MainActivity extends AppCompatActivity {
private CustomTabsSession mSession;
private Uri URL = Uri.parse("https://peconn.github.io/starters");

// This can be the app's package name, it has to either start with http or https.
private Uri SOURCE_ORIGIN = Uri.parse("https://my-app-origin-uri");
// This origin is going to be validated via DAL, please see
// (https://developer.chrome.com/docs/android/post-message-twa#add_the_app_to_web_validation),
// it has to either start with http or https.
private Uri SOURCE_ORIGIN = Uri.parse("https://sayedelabady.github.io/");
private Uri TARGET_ORIGIN = Uri.parse("https://peconn.github.io");
private boolean mValidated = false;

Expand Down

0 comments on commit 6d1272a

Please sign in to comment.