mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
foreground share recived solved
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -10,7 +10,7 @@ export class SendIntentService {
|
||||
callbackScheduler = new CallbackScheduler()
|
||||
|
||||
constructor() {
|
||||
|
||||
|
||||
SendIntent.checkSendIntentReceived().then((result: any) => {
|
||||
// logger
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user