Skip to content

Commit 530e649

Browse files
committed
SHK-7096: Updated sample api keys
1 parent 38c9689 commit 530e649

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

example/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ import Shake from 'react-native-shake';
66
import messaging from '@react-native-firebase/messaging';
77

88
const 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

0 commit comments

Comments
 (0)