forked from EVOgeek/Vmeda.Online
		
	MOBILE-3592 core: Fix cordova_not_available error
This commit is contained in:
		
							parent
							
								
									0819947072
								
							
						
					
					
						commit
						1d77811be2
					
				| @ -87,6 +87,10 @@ export class CoreLocalNotificationsProvider { | ||||
|     protected async init(): Promise<void> { | ||||
|         await Platform.instance.ready(); | ||||
| 
 | ||||
|         if (!this.isAvailable()) { | ||||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         // Listen to events.
 | ||||
|         this.triggerSubscription = LocalNotifications.instance.on('trigger').subscribe((notification: ILocalNotification) => { | ||||
|             this.trigger(notification); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user