Skip to content

Instantly share code, notes, and snippets.

@liruqi
Created March 16, 2016 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liruqi/e5382f42b17082172647 to your computer and use it in GitHub Desktop.
Save liruqi/e5382f42b17082172647 to your computer and use it in GitHub Desktop.
== 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