Re:Building all of our new mobile apps using React Native
by Random_Person on Wednesday January 29, 2020 @12:37PM
(#22183361)
The sites I build at work have proper push notifications. This problem has already been solved.
[ Parent
| on HN ]
Re:Building all of our new mobile apps using React Native
by rubyn00bie on Wednesday January 29, 2020 @04:38PM
(#22186133)
I will never enable push notifications from websites. This problem has not been solved. It also doesn't hold across devices or if the browser isn't open.
Re:Building all of our new mobile apps using React Native
by the_gipsy on Thursday January 30, 2020 @03:50AM
(#22189911)
Why not? You do, for apps, right?
App PNs also don't "hold" across devices. You don't need to have the browser "open", whatever that means.
BTW there are tons of apps that do push notifications wrong. There are many apps which keep sending you PNs after you log out or switch accounts. This can be really sensitive content (e.g. chat apps).
Re:Building all of our new mobile apps using React Native
by the_gipsy on Thursday January 30, 2020 @10:52AM
(#22192231)
Replying to myself, here is a NSFW example:
https://www.reddit.com/r/tifu/comments/e8ux6j/tifu_by_lettin...
Re:Building all of our new mobile apps using React Native
by berns on Wednesday January 29, 2020 @12:42PM
(#22183433)
How did you solve the lack of push notifications on iOS?
Re:Building all of our new mobile apps using React Native
by xyby on Wednesday January 29, 2020 @12:46PM
(#22183494)
For iOS, can't you just wrap your web application in a thin native app layer that provides the push functionality?
Re:Building all of our new mobile apps using React Native
by berns on Wednesday January 29, 2020 @12:55PM
(#22183625)
From the app store guidelines:
4.2 Minimum Functionality
Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or “app-like,” it doesn’t belong on the App Store.
Re:Building all of our new mobile apps using React Native
by noir_lord on Wednesday January 29, 2020 @03:26PM
(#22185416)
4.3 We'll continue to get away with this until the EU makes us stop.
Re:Building all of our new mobile apps using React Native
by nicoburns on Wednesday January 29, 2020 @03:42PM
(#22185571)
Would push notification support not be exactly the kind of feature that would qualify for this rule? In practice there are hundreds of apps like this on the app store.
Re:Building all of our new mobile apps using React Native
by SlowRobotAhead on Wednesday January 29, 2020 @01:12PM
(#22183862)
Right! I ran in to this when I wanted our app to “portal” to the website and just move Bluetooth data along. Apple thought about this and doesn’t like it.
Re:Building all of our new mobile apps using React Native
by cma on Wednesday January 29, 2020 @01:09PM
(#22183820)
Perhaps the main distinguishing app-like thing is distracting notifications.
Re:Building all of our new mobile apps using React Native
by the_gipsy on Thursday January 30, 2020 @03:52AM
(#22189917)
Yes you can and there tons of apps that do just that.
The important part is that they go through the app store, so that apple has complete control of what goes through.
Re:Building all of our new mobile apps using React Native
by hoyer_io on Thursday January 30, 2020 @03:04AM
(#22189716)
Yes you can and we are exactly doing this since quite a while. Actually a lot of companies do this.
Re:Building all of our new mobile apps using React Native
by avip on Wednesday January 29, 2020 @01:04PM
(#22183747)
You can, you just can't publish it on the appstore.
Re:Building all of our new mobile apps using React Native
by phreack on Wednesday January 29, 2020 @06:00PM
(#22186963)
How do you distribute it in that case? Outside of enterprise apps, which are not allowed to be public.
Re:Building all of our new mobile apps using React Native
by hoyer_io on Monday February 03, 2020 @09:58AM
(#22224656)
Sorry but I think I don't understand your question.
Re:Building all of our new mobile apps using React Native
by hoyer_io on Thursday January 30, 2020 @07:48AM
(#22190944)
If you use a native wrapper and load a webview inside you can publish it in the AppStore.
Re:Building all of our new mobile apps using React Native
by psaux on Wednesday January 29, 2020 @12:55PM
(#22183623)
They probably embedded the browser in a client.
Re:Building all of our new mobile apps using React Native
by heedlessly3 on Thursday January 30, 2020 @10:39AM
(#22192082)
for iOS you can have a work around. The users using the web based app in safari, then whenever a notification needs to be sent, twilio api will send a SMS message to alert the user. Of course it will only send an sms message if the user allows it and enters the mobile number.