getting api response in every 30 mins in ionic app automatically - ionic-framework

I am making an Ionic app and I want to receive a response from api in every 30 mins on its own to send notification to the user, even if the app isn't currently running or even if the app has not been started.

Related

Ionic 5 incomming call notification

I am developing a video call application with ionic 5
I would like to integrate a push notification like the one in the image when the user has an incoming call.
I tried OneSignal and FCM but didn't get good results.
do you have an API to recommend me?

Facebook Event Manager iOS App - Can't setup event configuration despite events are processed & notification success

Facebook Event Manager has processed events for an iOS app as shown in the snapshot below. I click on Setup for "Set up Apple's SKAdNetwork API for your apps" but it tells me Facebook isn't receiving app events and brings me back to Facebook Event Manager Overview.
Facebook isn't receiving app events:
I also followed the documentation and in Event Manager->Settings->Configure App Events for SKAdNetwork->Start Setting up Events:
Both Configure App events for SKAdNetwork and for iOS14.5 show no events have been setup.
If I try to set these up it says Facebook isn't receiving any events (according to the documentation and because I successfully tested the app setup with a notification setup events should not show).
The documentation says that "After you've successfully connected to your mobile app, you can set up your app event configuration." but the system tells me no events have been received.
Notification received and clicked (requested it a few times until I realized it was supposed to reach my facebook ios app :)
What am I missing or step to complete the setup of SKAdNetwork API? The problem is that without finalizing this setup I can't run App Install Ads:
Thanks
In case anyone runs into this issue, what I did to get it to work is click on each of the notifications I had received in the facebook iOS app in case these were all required and 6 hours later I was able to configure the events!
Bottom line and my best guess from this experience is that it probably takes 48 hours from the moment it's setup until the time the configuration shows what it's supposed to show.

Notifications lost after app is idle for longer duration - one signal sdk in flutter

I have implemented one signal sdk to receive notifications. I receive notifications when the app is in background. As the app is removed from the background I receive notifications for sometime but after that I do not notifications. As the app is idle for long time (overnight) app is unable to receive notifications from one signal dashboard. As soon as I open the app and put in background/ remove it from background I start receiving the notifications. Can anyone help me here? I tried putting the app Data saving mode but that did not help. I have the app process running in the background tasks when I am not able to receive the notifications.

Firebase push notification not working in IOS

My Swift application has push notifications being sent from the app server. The notifications were coming through until a couple weeks ago. All of a sudden they stopped coming through. When I tried sending messages from the firebase console to the registration token of my iPhone , I get Unregistered Registration Token error. I also get the UnregisteredToken error when sending a message to the device from pushtry.com.
I have tried deleting the token and refreshing/recreating it in my swift code. I have also tried uninstalling/installing the application several times.
My IOS app version is 11.1.2. Xcode version 9.
I tried sending messages using the Firebase console to the old tokens where I used to be able to send notifications before and now they are also failing. I get the same error about the token being unregistered.
This problem is not happening in the android version of my code. I am able to successfully send notifications to my android device.

How to integrate Facebook in iPhone

I have integrated fbgraph api in the application and can post and update the status on facebook, however didn't know how to update status in certain time interval when the app is in background, In my application user will have options like 3 hrs,5 hrs, 6 hrs to update the status automatically, user can select the any time and when app is in background it updates automatically, i am not getting access token in background, please help
Here the solution!
https://github.com/facebook/facebook-ios-sdk