I was doing a clock app on flutter, i implemented a clock, a stopwatch, a timer and an alarm
everything was going good, it works, but i just thinked that it would be better if i open the app and not just make a notification arrive, how should i do this?
PendingIntent?PendingIntentis the cleanest programatic way to open up your app if it's been in background or not started (yet) at all. If the alarm is "making the notification appear" you can also make the app open up instead of posting the notification by using an explicit pending intent.