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

D.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>
        <key>push.RetryCount</key>
        <integer>0</integer>
</dict>
</plist>
Windows
<?xml version="1.0" encoding="utf-8" ?>
<pushproperties>
  <push.ServerAddress>https://pushserver001.com</push.ServerAddress>
  <push.SelfCertificate>true</push.SelfCertificate>
  <push.wns.NotificationMode>true</push.wns.NotificationMode>
  <push.LogClassNameSpace>PushTest.Impl</push.LogClassNameSpace>
  <push.LogClassName>PushTest.Impl.PushLogImpl</push.LogClassName>
  <push.AuthClassNameSpace>PushTest.Impl</push.AuthClassNameSpace>
  <push.AuthClassName>PushTest.Impl.PushExtAuthImpl</push.AuthClassName>
  <push.ExtensionData>extData</push.ExtensionData>
  <push.ServerConnectRetryCount>0</push.ServerConnectRetryCount>
  <push.ServerConnectRetryWait>0</push.ServerConnectRetryWait>
  <push.BackGroundTaskErrorLogFileName>err.log</push.BackGroundTaskErrorLogFileName>
</pushproperties>