Created
March 16, 2016 03:47
-
-
Save liruqi/e5382f42b17082172647 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== iOS == | |
===Build guide=== | |
* https://github.com/actorapp/actor-bootstrap/tree/master/docs/server | |
== Configuration == | |
===File Storage=== | |
AWS S3 or file system on actor server | |
* AWS S3: https://github.com/actorapp/actor-bootstrap/blob/master/docs/server/configure-s3.md | |
* Steps: [http://roomchat-cn.azurewebsites.net/oss/actor/aws-s3-cors1.jpg],[http://roomchat-cn.azurewebsites.net/oss/actor/aws-s3-cors2.jpg] | |
===APNS=== | |
Sample configuration: | |
# Accessing Apple servers for push notifications | |
apple { | |
# Safari & iOS notifications | |
push { | |
# Mobile push certificates | |
certs = [ | |
{ | |
key: 20160111 | |
path: "/srv/actor-server-2016/actbox.p12" | |
password: actbox | |
sandbox: no | |
} | |
] | |
} | |
} | |
* How to make p12 file: http://appfurnace.com/2015/01/how-do-i-make-a-p12-file/ | |
* Client and server must set a same <code>apiPushId</code>(20160111 for the example above). E.g, on iOS client: <code>ActorSDK.sharedActor().apiPushId = 20160111</code> | |
==使用== | |
===测试帐号=== | |
选择 Russia,然后手机号前缀 555,后面的一位数字重复4次即为密码 | |
* 手机号:+7 5551234567 | |
* 密码:1111 | |
[[Category:OSS/Actor]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment