New post on /r/flutterdev subreddit:
The craziest way to push notifications to Flutter from my_sql DB by PHP and Firebase
Ok, I tried so hard to deal with notification in my app by specific conditions in my #my_sql DB The background work in #flutter is kind of not easy to deal with, so here's my crazy way to achieve that: I connect my app with #firebase and every time a new mobile open the app it rejecte it's #token in the DB Now I create a public #PHP file that has access to my my_sql DB and my #firebase So I'm checking the conditions in the #PHP file and send the notification to the wanted token... So the most important thing that the frequency of that progress... I simply put my PHP file in #corn_job and make the site request it every one minute... And just like that it's done by this crazy way 😁 Necessity is the mother of invention 🙃
September 28, 2019 at 09:55PM by mohammedbabelly
https://ift.tt/2mEGiz6
The craziest way to push notifications to Flutter from my_sql DB by PHP and Firebase
Ok, I tried so hard to deal with notification in my app by specific conditions in my #my_sql DB The background work in #flutter is kind of not easy to deal with, so here's my crazy way to achieve that: I connect my app with #firebase and every time a new mobile open the app it rejecte it's #token in the DB Now I create a public #PHP file that has access to my my_sql DB and my #firebase So I'm checking the conditions in the #PHP file and send the notification to the wanted token... So the most important thing that the frequency of that progress... I simply put my PHP file in #corn_job and make the site request it every one minute... And just like that it's done by this crazy way 😁 Necessity is the mother of invention 🙃
September 28, 2019 at 09:55PM by mohammedbabelly
https://ift.tt/2mEGiz6
reddit
The craziest way to push notifications to Flutter from my_sql DB...
Ok, I tried so hard to deal with notification in my app by specific conditions in my #my_sql DB The background work in #flutter is kind of not...