ページの先頭行へ戻る
Interstage Mobile Application Server V1.2.0 アプリケーション開発ガイド
FUJITSU Software

G.3 定義例

以下に製品提供のプッシュクライアント設定ファイルの内容を示します。


Android
push.ServerConnectTimeout=1000
push.ServerDataReadTimeout=1000
push.ServerAddress=https://example.com:8100
push.SelfCertificate=true
push.RingtoneUri=android.resource://com.package/raw/bell
push.LedSet=true
push.LedColor=#ffff0000
push.LedOntime=500
push.LedOfftime=500
push.VibPattern=1000,1000,1000,1000
push.NotificationAppName=app_name
push.NotificationMainClassName=com.fujitsu.imaps.push.example
push.NotificationIconID=ic_launcher
push.gcm.NotificationMode=true
push.gcm.SenderID=1234567890
push.LogClassName=com.fujitsu.imaps.plugin.push.PushLogImpl
push.AuthClassName=com.fujitsu.imaps.plugin.push.PushExtAuthImpl
push.ExtensionData=userid:user001
push.ServerConnectRetryCount=0
push.ServerConnectRetryWait=0
iOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>push.SandboxFlg</key>
        <false/>
        <key>push.ConnectionInfo</key>
        <dict>
                <key>push.Address</key>
                <string>https://example.com:8443</string>
                <key>push.SslForceFlg</key>
                <true/>
        </dict>
        <key>push.RetryWaitTime</key>
        <integer>60</integer>
        <key>push.LowerUpdateTime</key>
        <integer>-1</integer>
</dict>
</plist>