do not show "Shake to provide your feedback" popup when app starts

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Anton Danchenko 2018-04-06 18:00:45 +03:00 committed by Andrey Shovkoplyas
parent a82c087a0f
commit 4de886241c
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import com.facebook.react.ReactActivity;
import com.facebook.react.modules.core.PermissionListener;
import org.devio.rn.splashscreen.SplashScreen;
import com.testfairy.TestFairy;
import com.instabug.library.Instabug;
import java.util.Properties;
@ -112,6 +113,7 @@ public class MainActivity extends ReactActivity
SplashScreen.show(this);
super.onCreate(savedInstanceState);
Instabug.setIntroMessageEnabled(false);
if(BuildConfig.TESTFAIRY_ENABLED == "1") {
TestFairy.begin(this, "969f6c921cb435cea1d41d1ea3f5b247d6026d55");
}

View File

@ -25,4 +25,5 @@
(defn init []
(.startWithToken rn-dependencies/instabug
config/instabug-token
(.. rn-dependencies/instabug -invocationEvent -shake)))
(.. rn-dependencies/instabug -invocationEvent -shake))
(.setIntroMessageEnabled rn-dependencies/instabug false))