I have got a web app written in Rails running on Heroku, using Devise as the authentication system. It is fully responsive and works well when pinned to Homescreen.
However I would like to put it in as a native iOS app, using UIWebView. In order to get more out of the experience, I would like to add push notifications.
What is the best way to call a Push notification, without breaking the webapp version?
Thanks for your help!
Related
We're using Quasar/Vue3 with keycloak authentication across our apps. Everything works fine on Android and our SPA but using the "check-sso" option on iOS launches the inAppBrowser and then keeps us in the browser instead of redirecting back to the app once authentication is complete.
We're using the keycloak-ionic plugin to handle the work for us https://www.npmjs.com/package/keycloak-ionic
but there's nothing here about using check-sso and I can't seem to find anyone with the same issues as us.
Without check-sso I can login and everything redirects back succesfully but when the app is closed and re-opened you have to login again which is a little annoying to say the least.
As far as I can tell our deeplinks are working as when I go to the main website of the app I get the banner at the top asking if I want to load it in the app instead and as I said doing a normal login works just not onload with check-sso.
Any ideas?
I have made a mobile app using react-native (only android for now and it is not an expo app) and I would like to add push notifications to this app. The app is some kind of a social media and when the user is on scrolling the "news feed" the mobile app makes each 3 seconds a request on the server to see if there is a new notification.
On the server is a Ruby on Rails web-app that has a small dashboard so the admin can block misbehaving users and there are some API controllers that return JSON-s for the mobile app.
So the mobile app will make a request to the notifications controller and if there are any new notifications user will see them on the react-native mobile app.
When the mobile app is closed and there is a new notification on the server the user won't see it until the mobile app is active and can make requests to the notifications controller.
Is there some way to notify the user when the app is closed? I found this service:
https://github.com/geektimecoil/react-native-onesignal
At this time I'm not using Firebase but if I have understood it correctly I will somehow need to send the new notification that is created in my Ruby on Rails web-application to the Firebase service and then will Onesignal service get it from Firebase and display it as a push notification on the users smartphone even if the mobile application is closed?
Have I understood it correctly? Is there some easier way to achive my goal or some good tutorial that will help me to implement it like described?
I have used onesignal for my application which works amazing with android and ios if you want I can share the git repo for the same. It will work like a charm as you are not using expo, it is difficult with expo
I have problem with understand how "Push Notifications on Websites" works on Iphone, Ipad, etc.
Default Browser Notifications don't work on mobile, but this: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/Introduction/Introduction.html
should be work fine!
There is good documentation how to install it, but how it works on user?
As i see, it`s 2 variants:
1) Modal Window to allow using notifications in browser like it`s working with default JS Notifications.
or:
2) Link to install application in AppStore. So, user install to device application.
So, if user download application, does this application add to desktop on device as other applications? What happing when user click on icon? Does click on application on desktop activate safari and open web-site? Or is it hidden application without icons on desktop?
I try to find some sites to check examples how it will work with my iphone, but i didnt find any sites. All popular sites say: "download application and active notifications THERE and use application for website".
So, i don't need special application for my site, adaptive design is awesome for me, but i want to use notifications on iphone!
Please, help me :) Thank you!
As you noticed the document states that this feature is available on OSX not on iPad, iPhone.
We see this notifications when we open a website on Safari. For instance,
As soon as we click the allow button, our Macbook communicates with Apple Push Notification Service to establish a persistent IP connection (along with a token exchange). When the website servers send notifications to the Apple Push Notification Service it forwards that notification to our Macbook/iMac.
I'm trying to get to a point where I can make and deploy emergency changes to my Heroku apps from mobile devices. Using CodeHub (ios) I'm able to make changes to the GitHib repo, and using Nezumi (ios) I'm able to access the logs, restart the application and even gain console access to my app. The one thing that I can't figure out how to do at the moment is how to push the updated GitHub repo to Heroku and rebuild/redeploy the slug.
Is there any way retrigger this via the heroku console or any other mobile friendly interface?
Thanks.
There are plenty of deployment services that will do this, but if you're looking for one that works well on mobile, http://www.wercker.com is great.
I want to build web service in Rails 3 and iOS app to work with this service.
I need simple thing. User when first time open iOS app, get login screen. When is logged in, iOS app can send and get requests.
I already used Devise for authentication on Rails, and found RESTKit for iOS to map objects and use RESTfull web services, bit I didn't found anything about to confirm to work together.
My question is, what is the best solution to use on both sides, iOS and RoR to make this to work?
Take a look at what I did for the same setup (IOS device <=> Rails webservice).