mirror of
https://github.com/status-im/status-react.git
synced 2025-02-19 22:28:40 +00:00
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:
parent
a82c087a0f
commit
4de886241c
@ -24,6 +24,7 @@ import com.facebook.react.ReactActivity;
|
|||||||
import com.facebook.react.modules.core.PermissionListener;
|
import com.facebook.react.modules.core.PermissionListener;
|
||||||
import org.devio.rn.splashscreen.SplashScreen;
|
import org.devio.rn.splashscreen.SplashScreen;
|
||||||
import com.testfairy.TestFairy;
|
import com.testfairy.TestFairy;
|
||||||
|
import com.instabug.library.Instabug;
|
||||||
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
@ -112,6 +113,7 @@ public class MainActivity extends ReactActivity
|
|||||||
SplashScreen.show(this);
|
SplashScreen.show(this);
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
Instabug.setIntroMessageEnabled(false);
|
||||||
if(BuildConfig.TESTFAIRY_ENABLED == "1") {
|
if(BuildConfig.TESTFAIRY_ENABLED == "1") {
|
||||||
TestFairy.begin(this, "969f6c921cb435cea1d41d1ea3f5b247d6026d55");
|
TestFairy.begin(this, "969f6c921cb435cea1d41d1ea3f5b247d6026d55");
|
||||||
}
|
}
|
||||||
|
@ -25,4 +25,5 @@
|
|||||||
(defn init []
|
(defn init []
|
||||||
(.startWithToken rn-dependencies/instabug
|
(.startWithToken rn-dependencies/instabug
|
||||||
config/instabug-token
|
config/instabug-token
|
||||||
(.. rn-dependencies/instabug -invocationEvent -shake)))
|
(.. rn-dependencies/instabug -invocationEvent -shake))
|
||||||
|
(.setIntroMessageEnabled rn-dependencies/instabug false))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user