I am implementing an App in which I want to send notifications to friends when users shake their phone. This should work even if app is running in background. Could anyone please help with idea
Asked
Active
Viewed 81 times
1 Answers
0
On iOS it is simply not possible, as you don't get these kind of events while the app is in the background.
On Android it is possible right now because Titanium has no support for it. However, it is possible natively on Android (as demonstrated by this answer on SO).
You can wrap this functionality in a module by following the guides at the docs.
Good luck.