|Wazakindjes 3aca0b7d42 Explicitly disable minify for debug builds, also fixed een reference to Meqqy due to le copypaste xd||1 year ago|
|ass||1 year ago|
|src||1 year ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|Pushem.apk||1 year ago|
|README.md||1 year ago|
This shit is a dankass receiver app for push notifications from (eventually) multiple sources. [=[=[==[[=[
You can (de)register per service whenever you want. The corresponding device UUID will also be displayed and can be copied just by tapping on it (you might need to longpress). ;]
Currently it only works with OneSignal, which in turn connects to platforms such as Firebase Cloud Messaging (FCM) for Android and Apple Push Notification Service (APNS) for iOS to actually distribute the notifications to devices. I prefer using OneSignal instead of connecting to FCM and APNS meinself, since you'll have 1 dashboard where you can see all users at once instead of having to log into every one separately. =]
As of writing this shit, OneSignal is free for:
Which is p gucci. ;]
Also, if you deregister, all it actually does is unsubscribe you. Meaning your device will still be listed in the dashboard but it won't be able to receive notifications.
Alright, so this is necessary to make sure your device(s) won't end up in my OneSignal account, but rather your own.
Pushemas well ;]
Google Android (FCM)platform and set up the Firebase connection by following OneSignal's directions
Server API(at the bottom y0) because at least the Android one requires you to check for a subscriber at the end
Pushemapp, go to
Keys & IDsto see that inf0rmation
App IDwith the corresponding value from above, keep the settings screen open/active until later
Messagingtab), this helps down the road when more push services are added
OneSignal(we'll be using one group per pr0vidur ;])
Notification channel group namewith the name you just entered (it's not case-sensitive but otherwise it needs to match eggzactly)
temp_sensor) and set some defaults, these settings can later be changed within Android through the regular
App notifications(or something similar, prolly differs per device/vendor lol)
Channel IDon the bottom right and again slam that in the config of the sending application (if necessary/available 0bv m8)
All Users, where you should see your device
Restoredfor already received but not dismissed notifications. Pushem tries to move it to the group you created above to keep everything from 1 provider together. If you fail to set the group before receiving notifications, it will be unchangeable and it will remain under
Other. The only """fix""" is to uninstall the app so Android will clear these notification channels, then reinstall and do it right. ;] I could have Pushem delete and recreate the channel, but if multiple providers create an ungrouped category with the same name, shit gets funky. ;] So I won't bother.
temp_sensorto make sure that it only sends me shit.
You'll need to make some adjustments if you want to release signed APKs lol. Refer to the section right here (only applies to Mac OS X, if you're on Windows then idk how to do something similar :>).
Simply change the build variant in your Andr0id IDE to
debug, then it'll have OneSignal using debug mode too and you can see all the requests it's doing (and the responses it receives).
Alternatively, if your problem is that notifications don't arrive, check deez
nuts docs from OneSignal:
So far I haven't yet had this problem though. =]]]]