foreground share recived solved

This commit is contained in:
Eudes Inácio
2023-11-16 12:07:22 +01:00
parent 4609c2f240
commit 92cc1841e7
5 changed files with 259 additions and 663 deletions
+2 -1
View File
@@ -294,7 +294,8 @@ export class HomePage implements OnInit {
if (!this.platform.is('desktop')) {
App.addListener('appStateChange', ({ isActive }) => {
if (isActive) {
/* sendIntent.setRouteService(this.router) */
sendIntent.setRouteService(this.router)
this.checkSendIntentReceived();
console.log('App is in the foreground');
/* this.checkSendIntentReceived() */
} else {
+1 -1
View File
@@ -10,7 +10,7 @@ export class SendIntentService {
callbackScheduler = new CallbackScheduler()
constructor() {
SendIntent.checkSendIntentReceived().then((result: any) => {
// logger
if (result) {