Xamarin Forms Scheduled Notifications/Reminders [closed] - forms

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have been tasked with creating a Xamarin Forms app feature which creates reminder notifications when certain recurring tasks must be performed. These task schedules will be maintained by a back-office system and will need to be synced with a group of Android devices.
These are the approaches I’m considering:
• Firebase Cloud Messaging to push out task notifications from the back-end in real-time (or according to the schedules if this is possible with FCM).
• Syncing the task schedules with the devices somehow and using AlarmManager or similar to trigger the notifications.
Any thoughts of which approach would work best, or is there an alternative I haven’t considered?

This can be achieved by a web service that store store the task with timestamp in some store of DB. You will have to create a service that queries the DB, Lets say every n minutes and sends push notification using FCM for all the task that are scheduled for that particular time. Obviously this approach will not be precise to milliseconds but it will work for sure no hiccups. To achieve milliseconds level of precision you will have to do a lot more work than this.

Related

Push notifications on production with expo, react native and MongoDB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
Improve this question
The following question is just for advice (I don't want you guys to do my homework for me). I know I'm new to the expo and react native environment, but I can get by with your advice.
Currently I have a mobile application made with expo and react native and that shows daily weather data, in a graph it shows the data every hour (for example, average temperature). Weather data is taken from a database built on MongoDb. What I want now is that my application during the course of the day, when the temperature exceeds a higher value in the MongoDb database, a push notification is displayed in the mobile application (in production).
What I am thinking is to make an API (either in NodeJS or Python) that is constantly monitoring the database so that when a high value is reached, it sends an alert to the application and finally it can display the push notification. Now I have doubts because, how do I make my application keep listening in the background?
I have heard about firebase and apple push notification (since I am going to make the application on android and ios). Is there a way to not depend on these services?
I just want to know what path I can take and what tools I can work with to achieve what I propose. Monitor the MongoDb database, so that when a value is too high, it sends a push notification to the mobile application (in production).
Thank you all for your answers.

Should I publish my Flutter App if Im not 100% sure about its security? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I have created a flutter delivery app for (3) months, its now 99% complete. I am planning to make this app available just within my city, However I am worried that someone will take time to extract/decompile and reverse engineer my app to extract the customer info(fullName,Address,tel.no) that I have storing in cloud firestore, So far I have taken all the security measures I can think of:
1.) Using pro-guard and pro-guard rules
2.) Obfuscating Dart code
3.) Firebase Security Rules
However none of this can protect my users data 100% not just like big app companies who manage data on their server side infrastructure which I dont have resources and the know how. What I am really worried about is when they reverse engineer my app they can extract all users I have then I have to face consequence or lawsuit from my users.

Giving users the allusion of a free trial [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am offering a subscription to users right when they sign up to my iOS app. If the user does not purchase the subscription offer at sign up, I want to give them the premium version of the app for 7 days. Once the 7 days past I want the user to have to purchase a subscription to continue to use the app.
I do not want to do just a basic counter/timer in the app because users' can just delete and reinstall the app to get full access once their time is up.
What is a possible way of accomplishing this?
Apple provides a way to do that. but it supports iOS 11.0+ It's called DeviceCheck
From the docs:
Access per-device, per-developer data that your associated server can
use in its business logic.
You can set two bits data per device and keep in mind that it is dev's responsibility for keeping track of whether a user is entitled to redeem any offer that you provide.
A good way to start

How long does it take session data from a Flurry app to show up on the Flurry web site [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm wondering how long it takes for data from a single Flurry session on a single device to show up on the Flurry web site. Should it be instantaneous, several minutes, several hours, overnight?
EDIT (Feb 2015): please note this answer is almost 4 years old and provided info may not be accurate anymore.
Well, it's not real-time and depends on the traffic to their servers. Basic events are shown in about 15 minutes, but sometimes between 30-45 minutes.
Similar question was answered here.
If real-time is a must or you need other features, try this 7 Solutions for Tracking Mobile Analytics. It may be a bit outdated but mentions key providers like AdMob, Google Analytics, Bango, Localytics and Flurry.
Ive found it varies... events take about an hour to show up but GPS locations usually show up over night.

Is there any cost for using Push Notification Service? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any cost for using the Push Notification Service?
I know it requires using my own server to send notifications, but the signals are passed through an Apple server. There are no server transfer fees?
No, there is no cost. The only "gotchas" are that your app has to be in the app store(i.e. no jailbroken apps), and you have to maintain a server for pushing the events.
If you are building you own push server, which you mention above, there are hosting expenses and the cost of time to set up and administer it. Alternatively, you can use a service like iLime (www.ilime.com), which provides a RESTful API and a lot of free push alerts up-front to handle the server infrastructure for you.
Disclosure: I work for KeyLimeTie, who produces iLime - let me know if you have any questions.
Best wishes integrating APNS into your app, however you choose to do so.
Tim