File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
example/exampleApp/src/screens Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ const HomeScreen = () => {
3737 setDeviceUUID ( uuid )
3838
3939 // https://developers.mindbox.ru/docs/%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D1%8B-react-natice-sdk#gettoken
40- MindboxSdk . getTokens ( ( token : string ) => {
41- setToken ( token )
40+ MindboxSdk . getTokens ( ( t : string ) => {
41+ setToken ( t )
4242
4343 // https://developers.mindbox.ru/docs/%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D1%8B-react-natice-sdk#getsdkversion-since-280
4444 MindboxSdk . getSdkVersion ( ( version ) => {
Original file line number Diff line number Diff line change @@ -439,11 +439,12 @@ class MindboxSdkClass {
439439 * from the last known value, sends an update to the backend.
440440 *
441441 * @param granted current permission status
442- * @deprecated Use `` refreshNotificationPermissionStatus()` ` instead.
442+ * @deprecated Use `refreshNotificationPermissionStatus()` instead.
443443 */
444444 public updateNotificationPermissionStatus ( granted : Boolean ) {
445+ // eslint-disable-next-line no-void
446+ void granted
445447 console . warn ( 'updateNotificationPermissionStatus is deprecated. Use refreshNotificationPermissionStatus instead.' )
446- void granted ;
447448 return MindboxSdkNative . refreshNotificationPermissionStatus ( )
448449 }
449450
You can’t perform that action at this time.
0 commit comments