OpenMediationProject / OpenMediation-Android

OpenMediation SDK for Android
GNU General Public License v3.0
39 stars 34 forks source link

sdk初始化设置inithost问题 #7

Closed qyzhaojinxi closed 3 years ago

qyzhaojinxi commented 3 years ago

我看代码中初始化接口原版格式为:https://s.openmediation.com/init?v=1&plat=1&sdkv=2.3.3&k=gwsQFNL6ef0WZoIWP1rtHg0gokviPjOX

假如我设置自定义域名,那inithost应该是怎么样的?我看代码中接口并没有设置/init这个path,还是说我直接在设置inithost时就设置为https://xxxxxxxx/init这样的形式?

zwmessi commented 3 years ago

我看代码中初始化接口原版格式为:https://s.openmediation.com/init?v=1&plat=1&sdkv=2.3.3&k=gwsQFNL6ef0WZoIWP1rtHg0gokviPjOX

假如我设置自定义域名,那inithost应该是怎么样的?我看代码中接口并没有设置/init这个path,还是说我直接在设置inithost时就设置为https://xxxxxxxx/init这样的形式?

是的,只需要按照https://xxxxxxxx/init的格式,补全域名设置给初始化的位置即可

qyzhaojinxi commented 3 years ago

好的,谢谢