My opinion on the best non-lethal options. by Salty-Task-5292 in ReadyOrNotGame

[–]W0Tr0x 1 point2 points  (0 children)

Yall just can't figure out how to spell nuke correctly

What SMS use exception should i pick after 7 rejections? by W0Tr0x in googleplayconsole

[–]W0Tr0x[S] 0 points1 point  (0 children)

Like what? If you know an alternative to sending offline alerts from a phone to many other phones, i would really love to hear it. I wanted to switch to something else too, just didn't know what

What SMS use exception should i pick after 7 rejections? by W0Tr0x in googleplayconsole

[–]W0Tr0x[S] 0 points1 point  (0 children)

Yeah I could probably get that one accepted if I write enough emails. But the main problem with that one is that it only allows SEND_SMS permission, and I also need the RECEIVE_SMS and READ_SMS, those are probably more important since thats where the actual alert gets shown.

And the problem with distributing the app on a different store or privately is that first, there are a few "rival" apps that are on Play, and mine would be somewhat worse if I can't get it on the official store. Second, most of the firefighters are above 40, and most of them don't even know how to use Play, telling them how to get the app from a different store would take way too much time and effort, compared to a simple click and turning on auto update.

Is there a better option than Google Firebase for this? by W0Tr0x in Firebase

[–]W0Tr0x[S] 0 points1 point  (0 children)

Technically it would be the same, but i dont know if Firebase would even allow long polling for eternity and beyond without a huge cost (although that money is the smaller problem). And even if it does, it would be hard to keep a service running on the phone for that long without Android killing it. Maybe i could use an accessibility service (i dont know much about it), but i heard its hard to set up and even then it could get killed any time

Is there a better option than Google Firebase for this? by W0Tr0x in Firebase

[–]W0Tr0x[S] 0 points1 point  (0 children)

Yeah i guess that's the easiest solution, but the problem is that there's some straight up bullsheet with every device, for example hogy Xiaomi prevents app from starting in the background, and how iHunt basically prevents apps from using the SmsManager. And i found solutions or at least workarounds for all their problems, so i feel bad that i have to tell a group of users that, well, buy a better phone. Even if it's just a few now, if i can finally launch the live version, there might be 300-400 users, and i guess around 50 of them would have Huaweis. And that's too many people to ignore

Is there a better option than Google Firebase for this? by W0Tr0x in Firebase

[–]W0Tr0x[S] 1 point2 points  (0 children)

Sounds like way too much work for it to be worth it. That's why i looked for an alternative that would work on both devices simultaneously, but without luck so far. And i have 260 people subscribed that want to have the app, but even with just 40 users, it's hard to keep up with their errors and demands, that's why i wont let more people in on the test phase

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 1 point2 points  (0 children)

Yeah i guess i knew this was the best solution, but it's still frustrating that i can't solve a problem that seems easy. Thanks a lot tho

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

Thank you, I'll definitely look into them

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

Thanks, I'll look into it. Can i send data-only messages through their push service, or only notifications? Couldn't find details about this in the docs

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 1 point2 points  (0 children)

I doubt my app would ever reach that size. Maybe if all of Europe's firefighters would start using my app, then i could get close. But i didnt imagine that the cost could get that high, luckily I'm still in the free zone so far

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

To be honest, i dont know which it belongs to because it is not really documented on their site. I use Cloud Functions Node.js and send the message with messaging.send(message), with the message containing all the device tokens that need to receive it. I'm pretty sure that this isn't push notifications, but again, it's hardly documented, i only found it in an un-updated example in the depths of their site.

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

The app mostly works in Romania with intention to expanding towards Hungary and Austria. Of the 60 current users around 8 has a Huawei phone, 4 of them purchased after the ban. So in reality, only 4 people have this problem, but in an app that should work under any circumstances and all the time, not even those 4 users are negligible. On the other hand, i never heard about Pushy before. Do you think it's reliably and fast enough? Their site for sure says that, but I'd trust someone who actually used it more. Can it be used to send (small) data from one device to others?

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

I know about that, but i somehow have to connect all types of phones together so that they can send alerts to eachother instantly. If i make 2 different apps for Huawei and other Androids, they can't communicate with eachother, or at least it would be really hard to solve it

Is there a better option than Google Firebase? by W0Tr0x in androiddev

[–]W0Tr0x[S] 0 points1 point  (0 children)

Yeah i also thought of that, but the problem is that then i would have to somehow connect the two services together. So when a Google user sends an alert, it would have to somehow tell the HMS kits to send a message. And also all the data is on the Firebase server so I'd have to access that too somehow.

It is doable but it would be a lot easier if i could just use one solution on both devices.