• 0 Posts
  • 1.14K Comments
Joined 2 years ago
cake
Cake day: August 24th, 2023

help-circle






  • It’s actually not possible to build a push service like FCM or APNS on Android and have it function at the same level as FCM. FCM has special permissions to bypass certain device states on the device to ensure message delivery that nothing else can match.

    The best you can do is approximate it with an always active websocket and a foreground service always running with battery optimizations disabled, but good luck not having that foreground service shut down on occasion as well. Devices are hostile to them for battery saving purposes. You’d have the best luck with a Pixel device though for something like that. You could also do some sort of scheduled background polling, but the device can be hostile to that as well, and it would eat more battery.





  • How do you suppose APNS knows which device to deliver the notification to?

    Something that… links it to the device? Like, a unique ID that Apple can identify?

    It sounds like he thinks HE has to store this information, which is simply incorrect. It will obviously be stored by Google in Firebase, and by Apple wherever that gets stored, but HE does not have to store it.

    I write apps for a living. I have users subscribe and unsubscribe to channels, and at no point is there a user account with password involved in either iOS or Android. If you want the memory of which channels they have subscribed to to persist across uninstall/reinstalls or different devices, then yes, but for an app like this you don’t need to persist those settings.

    At any point the government could subpoena who’s received pushes (or at least, who’s registered to) from both Google and Apple.


  • You wanna go to jail hosting that server? You want to be extradited from another partnering country to the USA for inciting violence? For accessory to murder if something went wrong?

    How is the link indelible when it’s anonymous? This isn’t money that can be traced back to you once it goes through Tornado Cash, or if it was done on something like Monero.

    Edit:

    https://www.yahoo.com/news/attorney-general-pam-bondi-warns-092112825.html

    “Our ICE agents, all of our federal agents who are working hand in hand on these task force[s] — our federal agents from the Justice Department could be injured,” Bondi said Monday on “Hannity.”

    “He’s giving a message to criminals where our federal officers are. And he cannot do that. And we are looking at it, we are looking at him, and he better watch out, because that’s not a protected speech. That is threatening the lives of our law enforcement officers throughout this country.”

    This dudes life might be fucked now.

    But sure, no reason, just trying to shove blockchain into everything.




  • This is actually a spot where I think a public blockchain could work and it’s censorship resistant properties will be crucial one day.

    The server is the blockchain, so it’s not hosted anywhere specific and can’t be taken down. It’s also a smart contract which ended up working in favor of the devs of TornadoCash where a judge overturned the sanctions on it since it was just immutable public code.

    Now that Tornado Cash isn’t sanctioned, you could mix your coins through it to then pay the sub cent fee to post the sighting on one of the layer 2s like Arbitrium (the fee which will also help combat spam)

    The app could then be open source (web/android/iphone) and monitor the blockchain for the sightings in your area.

    The problem still becomes push notifications if it’s all being done locally… It would need to be your device itself monitoring. Apple is also bad about background processing, but it’s a better on Android, and especially easier if you don’t deploy to the store and can bypass some of the requirements.

    This way incurs no hosting costs for the developer, no load balancing, nothing to be seized etc.

    It does require adoption of something like Ethereum though.