File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ import Shake from 'react-native-shake';
66import messaging from '@react-native-firebase/messaging' ;
77
88const startShake = async ( ) => {
9- const API_KEY =
10- Platform . OS === 'ios'
11- ? 'HtTFUmUziF5Qjk1XLraAJXtVB1cL62yHWWqsDnrG'
12- : 'HtTFUmUziF5Qjk1XLraAJXtVB1cL62yHWWqsDnrG' ;
13-
149 Shake . setInvokeShakeOnScreenshot ( true ) ;
1510 Shake . setInvokeShakeOnShakeDeviceEvent ( true ) ;
1611 Shake . setShowFloatingReportButton ( true ) ;
@@ -31,7 +26,12 @@ const startShake = async () => {
3126 console . log ( 'Shake submitted!' ) ;
3227 } ) ;
3328
34- await Shake . start ( API_KEY ) ;
29+ const apiKey =
30+ Platform . OS === 'ios'
31+ ? 'Ny6x1eMCwSTNltepD8vLQ6iiYXqatEp2nWM7cFGM01opctfQfC802wf'
32+ : 'K9CeeyYp8aWIIWrKnT63c9StRXQa05pWzP1rYruYsIvmg1q0brwuvGM' ;
33+ await Shake . start ( apiKey ) ;
34+
3535 Shake . registerUser ( 'test_user' ) ;
3636} ;
3737
You can’t perform that action at this time.
0 commit comments