mobile product engineer, iOS and/or React Native.

  • 3 Posts
  • 6 Comments
Joined 4 years ago
cake
Cake day: January 19th, 2021

help-circle
  • On iOS, this is a non-starter. The system suspends your app after a certain amount of time in the background, and closes any web socket connections whether you like it or not.

    You might be able to make it work on Android (I have a lot less experience working with Android than iOS), but the trade-off is that if every one of your apps is holding open a network connection for its own push notifications, that would impact your battery life. Firebase Cloud Messaging (FCM) from Google, and Apple Push Notification Service (APNS) both work by funneling all notifications through a single network connection to the user’s device.

    And for what it’s worth, FCM just proxies messages to APNS when the client is an iOS device. Not even Google can create a true alternative for push notifications on iOS.






  • AverytoAsklemmyOpen survey about censorship on lemmy
    link
    fedilink
    arrow-up
    9
    arrow-down
    4
    ·
    4 years ago

    I guess I’m not active enough on this site to see people posting about censorship on Lemmy. But on other networks (especially on reddit and twitter), the people complaining about censorship are just mad that there are consequences for saying nasty stuff.