From b3a675d96441bff0587bcd56c492cd0a891cf315 Mon Sep 17 00:00:00 2001 From: Salakar Date: Tue, 10 Jul 2018 22:51:45 +0100 Subject: [PATCH] [tests] misc project files --- .../android/app/src/main/AndroidManifest.xml | 37 ++++++++++++++++--- .../main/java/com/testing/MainActivity.java | 4 ++ bridge/android/build.gradle | 2 +- bridge/package.json | 2 +- 4 files changed, 38 insertions(+), 7 deletions(-) diff --git a/bridge/android/app/src/main/AndroidManifest.xml b/bridge/android/app/src/main/AndroidManifest.xml index b016f89e..61b4e13e 100755 --- a/bridge/android/app/src/main/AndroidManifest.xml +++ b/bridge/android/app/src/main/AndroidManifest.xml @@ -65,18 +65,45 @@ - + + android:scheme="http" + android:host="je786.app.goo.gl" /> + + + + + + + + android:scheme="http" + android:host="je786.app.goo.gl" /> + + + + + + + + + + + + + + + + diff --git a/bridge/android/app/src/main/java/com/testing/MainActivity.java b/bridge/android/app/src/main/java/com/testing/MainActivity.java index 286ab301..b0329405 100755 --- a/bridge/android/app/src/main/java/com/testing/MainActivity.java +++ b/bridge/android/app/src/main/java/com/testing/MainActivity.java @@ -32,6 +32,10 @@ public class MainActivity extends ReactActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); checkWindowPerms(); + // ATTENTION: This was auto-generated to handle app links. + Intent appLinkIntent = getIntent(); + String appLinkAction = appLinkIntent.getAction(); + Uri appLinkData = appLinkIntent.getData(); } public void checkWindowPerms() { diff --git a/bridge/android/build.gradle b/bridge/android/build.gradle index 8e7ee8c7..1fdb7242 100755 --- a/bridge/android/build.gradle +++ b/bridge/android/build.gradle @@ -7,7 +7,7 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:3.1.2' + classpath 'com.android.tools.build:gradle:3.1.3' classpath 'com.google.gms:google-services:4.0.1' classpath 'com.google.firebase:firebase-plugins:1.1.1' classpath 'io.fabric.tools:gradle:1.25.4' diff --git a/bridge/package.json b/bridge/package.json index 1b75558f..f81df1e8 100755 --- a/bridge/package.json +++ b/bridge/package.json @@ -13,7 +13,7 @@ "test-android-reuse": "detox test --configuration android.emu.debug --reuse", "test-android-cover": "nyc detox test --configuration android.emu.debug", "test-android-cover-reuse": "nyc detox test --configuration android.emu.debug --reuse", - "test-ios": "detox test --configuration ios.sim.debug", + "test-ios": "detox test --configuration ios.sim.debug --loglevel warn", "test-ios-reuse": "detox test --configuration ios.sim.debug --reuse --loglevel warn", "test-ios-cover": "nyc detox test --configuration ios.sim.debug", "test-ios-cover-reuse": "nyc detox test --configuration ios.sim.debug --reuse --loglevel warn",