Server Setup for iPhone Push Notifications - iphone

I'm new to the whole push notifications thing, and was wondering if somebody could walk me through the process of getting a simple application up and running. I currently rent a server that I use to serve my website that runs cPanel X.
How would I go about setting up the service? What software do I need to install on the server? How do I upload code to the server?
Sorry if these are really dumb questions - I'm not really a web developer.
Thanks in advance!

I would go to the Apple Developer Forums. They have many questions and answers regarding this. For my apps, I use a Ruby On Rails plugin called apn_on_rails, but this is probably not an option for you on a shared host with some sort of admin gui. Your shared host probably runs php so I would look for a php implementation.

Related

Xamarin Mobile Device to SQLite stored on AWS Ec2

As the title goes, I need to connect a Xamarin built application to a SQLITE database stored inside a Amazon EC2 that is hosting a web app.
Now I agree not the most robust of set ups but i'm aware it can be done using RESTful API to build a web service and ideally host on Tomcat. But i can't find out how. Totally new to APIs.
That's all I need really. I've been down most avenues of Google and Xamarin support docs. But I really need someone to point me in the right direction as im seeing alot of broken links for Xamarin docs that revert me to Microsofts site. Or help find an example, anything would be heavily appreciated. I can only offer that if you answer my question you will make someones day and I will post a cute picture of a hamster.
Thanks!

How to create apps for mobiles which are using KaiOS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I recently found in news that KaiOS has been used in 4G Volte Enabled feature mobile phones. I was wondering how to create apps for KaiOS. Any help on creating apps for KaiOS has been greatly appreciated.
You can find the kickstart here https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Firefox_OS_apps/Building_apps_for_Firefox_OS but as KaiOS is B2G forked i would still suggest you to go to kaiOS official website to check the proper flow for the application development.
Below are the series of steps you need to go through if you don't want to get stuck in between of development:
First you should understand how applications actually work in kaiOS environment and for that you need to first understand the architecture for that. You can give a read to https://developer.kaiostech.com/introduction/architecture for more understanding.
Then comes setup for your application which you will find here at https://developer.kaiostech.com/environment-setup . Mozzila firefox shift+F8 will open the webIDE where you can see your devices connected but for that you should have proper drivers installed for your phone. You can use firefox emulator 2.2 (stable) as well for initial start.
Now its time to have your first application onboard to kaiOS . You can make your application in any of the client specific JS like angular , react or even plain javascript but the important part is to have manifest.webapp in root folder for compatibility.You can give a read to https://developer.kaiostech.com/first-app.
You are able to see your first application on your phone !! Now the real pain arrives when it comes to navigate through the application by keypad but thanks to naviboard library which will do this work for you to align your navigable items and navigate through it by simple API’s. You can find the library at https://github.com/amanboss9/naviboard.
When you are done with navigation part of feature phone, you can go through and develop as much as you can as if it is a web application and can develop a lot of things.
Check the sample project at https://github.com/amanboss9/kaios-angular-app. This Boilerplate can save lot of time when it comes to setting up everything from scratch.It included Angular1.6, naviboardJS(For auto handling navigation part of your application) and Gulp.
KaiOS is based on Mozilla's open source B2G OS. The apps are built purely with HTML/JS/CSS stack and any web application/website that is mobile friendly can be an app with just minor modifications. You can use the inbuilt webIDE to build apps for Mozilla OS, see more here.
https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Firefox_OS_apps/Building_apps_for_Firefox_OS/Firefox_OS_app_beginners_tutorial
I used to build apps for Firefox OS before it was dead lets hope to see whether it's reincarnation succeeds.
I will try making apps when I get my hands on the Jio Phone and will update here.
Update:
KaiOS has released a newly updated their website with a new IDE called Kaiosrt which is much better and actually works.
KaiOS is a B2G OS forked from Firefox OS.
You can use Angular/React/Jquery or any JS lib/framework to develop apps on Kaios
Packaged app should have all js/image/html/css file packed locally, External link reference in index.html will not work. Blocked by default- CSP policy.
Mobiles (JioPhone/Nokia Banana phone) with keyboard needs to handle its own key events, Refer Kaios Sample app
This is in the FAQs of KaiOS offical website:
Can I develop apps for KaiOS?
KaiOS is a curated platform for apps and we are working closely with
app developers to provide the best experience for our users. At the
moment we are not accepting submissions into the Store, but will do so
in the future.
(https://www.kaiostech.com/faq/#question-12)
Guess you could leave your contact email there and will get updates in the near future.
KaiOS have officially launched the KaiOS Developer Portal.
It's got everything developers need to start building and distributing KaiOS apps.
Furthermore, build your first app with JavaScript (Vanilla), React,
Vue.js and Angular with code examples herein. Then, testing your
apps with WebIDE or Simulator.
Tools and resources include:
A guide to building your first app, with sample code, reference guides, and software development kits (SDKs).
Instructions for ENV setup to configure your development environment.
A simulator running Gaia and web apps in a Gecko-based environment.

What is the difference between web servers (apache,ignix etc) and web frameworks(flask,rails etc)?

Aren't both necessarily the same thing? While frameworks seem to have extra features to help ease development?
A web server is a program that takes a request to your website from a user and does some processing on it. Then, it might give the request to your Rails app.
An app server is the thing that actually runs your Rails app.
See more in http://www.justinweiss.com/articles/a-web-server-vs-an-app-server/

How to create a remote virtual machine client for iPhone? (in XCode)

I desperately need to integrate a virtual machine/remote desktop connection into my iOS app because the app is going to be developed for a school and they want to access the school management system.
Is it very hard? How can I do it? Are there any tutorials out there?
Bear in mind that I'm not an advanced dev.
Many thanks,
James
It's likely to be a challenge.
A better way would be trying to use a web service to interact with the system.
It's hard. Look into porting some open source RDesktop code. Or just use one of the dozens of existing remote desktop iPhone apps in conjunction with your app.
Most mobile apps use a RESTful API to communicate between servers and devices.

libraries / services to assist with iOS wireless app distribution

Can anyone recommend any libraries/utilities they use to assist in distributing iOS adhoc/enterprise applications over the air, so users can install without needing a PC/iTunes?
There's a few hosted services around (eg. https://testflightapp.com/ - though that is not free for enterprise apps), but I'm sure in the past I saw a non-hosted service (ie. something I could install on my own server) and came with a client side library that was easy to hook into the app to notify the user when updates were available and allow them to easily install them. Unfortunately it seems I didn't bookmark it and a bunch of googling and searching on stack overflow hasn't found it.
You need to create your own manifest and bundle it with the app package (the IPA from Build and Archive). There are a lot of guides on the web. e.g. this to automate OTA distribution using Heroku from Héctor Ramos or Mike Nachbaur's write up.
That said, I suspect using TestFlight.app is a lot easier than rolling your own - have you looked at the cost benefit of paying TestFlight vs developing and maintaining your own system. Much better to write production code rather than save the cost of the TestFlight subscription surely...
I finally found the one I believe I was thinking of when I wrote the question, it's called "Hockey":
http://hockeykit.net/
https://github.com/TheRealKerni/HockeyKit
If there are other similar solutions out there, please do add your own answer!