Add ixintui to your gemfile
gem 'ixintui', '~> 1.0.4'
Add ixintui config file to config/initializers
# config/initializers/ixintui.rb
# -*- encoding : utf-8 -*-
Ixintui.configure_keys do |config|
config.ios_key YOUR_IOS_APP_KEY, YOUR_IOS_SECRET_KEY
config.android_key YOUR_ANDROID_APP_KEY, YOUR_ANDROID_SECRET_KEY
end
Ixintui::IosService.push message: 'test'
Ixintui::AndroidService.push message: 'test'
Read Document for more information