Creating API for Ionic app with Ruby On Rails. Part 1. CORS

Everybody, who started building a app using hybrid tools such Cordova or Ionic with custom HTTP API, usually gets the problem like

This happens because your app is actually running in browser and its built-in mechanisms prevents HTTP requests to other domains. But this can be easily solved with Ruby on Rails.

Continue reading Creating API for Ionic app with Ruby On Rails. Part 1. CORS

Sending Push Notifications to iOS and Android Applications With Ruby on Rails

Push Notification with Hybrid appA few days ago I created the article describing how to implement push notifications for iOS and Android for you hybrid mobile app. Now it’s time to discribe server-side. Usually I’m using Rails for server-side, so this example will be about Rails.

Sending push notifications with Rails is quite easy, but have some nuances, which should be implemented.

Continue reading Sending Push Notifications to iOS and Android Applications With Ruby on Rails