@@ -22,10 +22,10 @@ import {
2222} from 'src/shared/helpers/init' ;
2323import {
2424 getConsentRequired ,
25- removeLegacySubscriptionOptions ,
2625 setConsentRequired as setStorageConsentRequired ,
2726} from 'src/shared/helpers/localStorage' ;
2827import { checkAndTriggerNotificationPermissionChanged } from 'src/shared/helpers/main' ;
28+ import { debug , info , warn } from 'src/shared/libraries/log' ;
2929import {
3030 _onSubscriptionChanged ,
3131 checkAndTriggerSubscriptionChanged ,
@@ -45,7 +45,6 @@ import NotificationsNamespace from './NotificationsNamespace';
4545import { SessionNamespace } from './SessionNamespace' ;
4646import SlidedownNamespace from './SlidedownNamespace' ;
4747import UserNamespace from './UserNamespace' ;
48- import { debug , info , warn } from 'src/shared/libraries/log' ;
4948
5049export default class OneSignal {
5150 static _consentGiven = false ;
@@ -127,11 +126,7 @@ export default class OneSignal {
127126 */
128127 static async init ( options : AppUserConfig ) {
129128 logMethodCall ( 'init' ) ;
130- debug (
131- `Browser Environment: ${ getBrowserName ( ) } ${ getBrowserVersion ( ) } ` ,
132- ) ;
133-
134- removeLegacySubscriptionOptions ( ) ;
129+ debug ( `Browser Environment: ${ getBrowserName ( ) } ${ getBrowserVersion ( ) } ` ) ;
135130
136131 errorIfInitAlreadyCalled ( ) ;
137132 await OneSignal . _initializeConfig ( options ) ;
0 commit comments