Hello,
I am trying to open the App when I receive any notification from FCM. Please note that I have closed my App.
FCM is working fine even when I killed the App manually.
I have given the following permission at the manifest Editor :
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The below is the code I have written to open the App upon receive the notification :
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
But the page [actpict] is not opening.
Please advice is that possible ?
Thanks
			
			I am trying to open the App when I receive any notification from FCM. Please note that I have closed my App.
FCM is working fine even when I killed the App manually.
I have given the following permission at the manifest Editor :
			
				B4X:
			
		
		
		AddPermission(android.permission.SYSTEM_ALERT_WINDOW)The below is the code I have written to open the App upon receive the notification :
			
				B4X:
			
		
		
		Sub fm_MessageArrived (Message As RemoteMessage)
Log("Message arrived")
Log($"Message data: ${Message.GetData}"$)
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("body"), Main)
n.Notify(1)
B4XPages.ShowPage("actPict")
End SubBut the page [actpict] is not opening.
Please advice is that possible ?
Thanks
 
				 
 
		 
 
		 
 
		 
 
		