Commit a16baeae90d65cfb458d6070de4dca188647a610
1 parent
9248ce1ace
Exists in
master
修改初始化方法
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
doc/AndroidDocument.md
... | ... | @@ -134,10 +134,10 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
134 | 134 | 1.调用GumpSDK前需要执行初始化。 |
135 | 135 | 若不需要分渠道 |
136 | 136 | |
137 | - GumpSDK.init(Appid, Appkey,FacebookId); | |
137 | + GumpSDK.init(Context,Appid, Appkey,FacebookId); | |
138 | 138 | 如果需要定义渠道,必须使用如下方法 |
139 | 139 | |
140 | - GumpSDK.init(Appid, Appkey,FacebookId,ChannelId); | |
140 | + GumpSDK.init(Context,Appid, Appkey,FacebookId,ChannelId); | |
141 | 141 | 2.调用GumpSDK的开始方法,将执行登录流程,需要一个Activity实例作参数 |
142 | 142 | |
143 | 143 | GumpSDK.start(Activity); |