You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set it to false if you want to manage token sending manually.
139
170
*/
140
171
141
-
const sdk = new <%=config[:rn_sdk_package_name]%>("YOUR_SHOP_ID", "stream", "debug", autoSendPushToken);
172
+
const sdk = new <%=config[:rn_sdk_package_name]%>("YOUR_SHOP_ID", "stream", "debug", "autoSendPushToken");
173
+
174
+
/* RN SDK initialization with Expo will look like this. You can use your own function implementation to create a unique ID for each application installation*/
175
+
176
+
const sdk = new <%=config[:rn_sdk_package_code]%>('YOUR_SHOP_ID', 'stream', false, true, {
177
+
id: await getDeviceId(),
178
+
});
142
179
143
180
/* Initialization is async, so you have a method to test, if SDK is initialized or not: */
0 commit comments