Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.58 KB

File metadata and controls

27 lines (20 loc) · 1.58 KB

SunshineConversationsClient::Ios

Properties

Name Type Description Notes
type String To configure an ios integration, call the create integration endpoint with a base64 encoded Apple Push Notification certificate from the Apple Developer Portal. [optional] [default to 'ios']
certificate String The binary of your APN certificate base64 encoded. To base64 encode your certificate you can use this command in the terminal: `openssl base64 -in YOUR_CERTIFICATE.p12 tr -d '\n'`
password String The password for your APN certificate. [optional]
production Boolean The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. [optional]
auto_update_badge Boolean Use the unread count of the conversation as the application badge. [optional]
can_user_create_more_conversations Boolean Allows users to create more than one conversation on the iOS integration. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::Ios.new(type: null,
                                 certificate: your_APN_certificate,
                                 password: your_APN_password,
                                 production: null,
                                 auto_update_badge: null,
                                 can_user_create_more_conversations: null)