ShareSDKDevInfo.cs 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218
  1. using System;
  2. using UnityEngine;
  3. using System.Collections;
  4. namespace cn.sharesdk.unity3d {
  5. [Serializable]
  6. public class DevInfoSet {
  7. #if UNITY_IPHONE || UNITY_IOS
  8. public Copy copy;
  9. public YixinFavorites yixinFavorites;
  10. public YixinSeries yixinSeries;
  11. public WechatSeries wechatSeries;
  12. public QQSeries qqSeries;
  13. public KakaoSeries kakaoSeries;
  14. public SnapChat snapChat;
  15. public EvernoteInternational evernoteInternational;
  16. public Apple apple;
  17. public WatermelonVideo watermelonVideo;
  18. #endif
  19. #if UNITY_ANDROID
  20. public FourSquare fourSquare;
  21. #endif
  22. public SinaWeiboDevInfo sinaweibo;
  23. public TencentWeiboDevInfo tencentweibo;
  24. public Facebook facebook;
  25. public Twitter twitter;
  26. public Email email;
  27. public ShortMessage shortMessage;
  28. public Douban douban;
  29. public Renren renren;
  30. public GooglePlus googlePlus;
  31. public KaiXin kaiXin;
  32. public Pocket pocket;
  33. public Instagram instagram;
  34. public LinkedIn linkedIn;
  35. public Tumblr tumblr;
  36. public YouDao youDao;
  37. public Flickr flickr;
  38. public Evernote evernote;
  39. public WhatsApp whatsApp;
  40. public Line line;
  41. public Dropbox dropbox;
  42. public VKontakte vkontakte;
  43. public Pinterest pinterest;
  44. public Mingdao mingdao;
  45. public KakaoTalk kakaoTalk;
  46. public KakaoStory kakaoStory;
  47. public QQ qq;
  48. public QZone qzone;
  49. public WeChat wechat;
  50. public WeChatMoments wechatMoments;
  51. public WeChatFavorites wechatFavorites;
  52. public Yixin yixin;
  53. public YixinMoments yixinMoments;
  54. public FacebookMessenger facebookMessenger;
  55. public AliSocial aliSocial;
  56. public Instapaper instapaper;
  57. public AliSocialMoments aliSocialMoments;
  58. public Dingding dingTalk;
  59. public Youtube youtube;
  60. public MeiPai meiPai;
  61. public CMCC cmcc;
  62. public Reddit reddit;
  63. public Telegram telegram;
  64. public ESurfing eSurfing;
  65. public FacebookAccount facebookAccount;
  66. public WeWork wework;
  67. public Douyin douyin;
  68. public Oasis oasis;
  69. public TikTok tiktok;
  70. public KuaiShou kuaishou;
  71. }
  72. [Serializable]
  73. public class DevInfo {
  74. public bool Enable = true;
  75. }
  76. [Serializable]
  77. public class SinaWeiboDevInfo : DevInfo {
  78. #if UNITY_IPHONE || UNITY_IOS
  79. public int type = (int)PlatformType.SinaWeibo;
  80. public string app_key = "1556465402";
  81. public string app_secret = "d40c0a5436156e2604a30851df6434bf";
  82. public string redirect_uri = "https://www.mob.com/";
  83. public string app_universalLink = "https://70imc.share2dlink.com/";
  84. #endif
  85. #if UNITY_ANDROID
  86. public const int type = (int)PlatformType.SinaWeibo;
  87. public string SortId = "4";
  88. public string AppKey = "568898243";
  89. public string AppSecret = "38a4f8204cc784f81f9f0daaf31e02e3";
  90. public string RedirectUrl = "http://www.sharesdk.cn";
  91. public bool ShareByAppClient = true;
  92. #endif
  93. }
  94. [Serializable]
  95. public class TencentWeiboDevInfo : DevInfo {
  96. #if UNITY_IPHONE || UNITY_IOS
  97. public int type = (int)PlatformType.TencentWeibo;
  98. public string app_key = "801307650";
  99. public string app_secret = "ae36f4ee3946e1cbb98d6965b0b2ff5c";
  100. public string redirect_uri = "http://www.sharesdk.cn";
  101. #endif
  102. #if UNITY_ANDROID
  103. public const int type = (int)PlatformType.TencentWeibo;
  104. public string SortId = "3";
  105. public string AppKey = "801307650";
  106. public string AppSecret = "ae36f4ee3946e1cbb98d6965b0b2ff5c";
  107. public string RedirectUri = "http://www.sharesdk.cn";
  108. #endif
  109. }
  110. [Serializable]
  111. public class QQ : DevInfo {
  112. #if UNITY_IPHONE || UNITY_IOS
  113. public int type = (int)PlatformType.QQ;
  114. public string app_id = "1110451818";
  115. public string app_key = "OlbzvuSP3Hgj5yNS";
  116. #endif
  117. #if UNITY_ANDROID
  118. public const int type = (int)PlatformType.QQ;
  119. public string SortId = "2";
  120. public string AppId = "1110451818";
  121. public string AppKey = "aed9b0303e3ed1e27bae87c33761161d";
  122. public bool ShareByAppClient = true;
  123. #endif
  124. }
  125. [Serializable]
  126. public class QZone : DevInfo {
  127. #if UNITY_IPHONE || UNITY_IOS
  128. public int type = (int)PlatformType.QZone;
  129. public string app_id = "1110451818";
  130. public string app_key = "OlbzvuSP3Hgj5yNS";
  131. #endif
  132. #if UNITY_ANDROID
  133. public const int type = (int)PlatformType.QZone;
  134. public string SortId = "1";
  135. public string AppId = "1110451818";
  136. public string AppKey = "ae36f4ee3946e1cbb98d6965b0b2ff5c";
  137. public bool ShareByAppClient = true;
  138. #endif
  139. }
  140. [Serializable]
  141. public class WeChat : DevInfo {
  142. #if UNITY_IPHONE || UNITY_IOS
  143. public int type = (int)PlatformType.WeChat;
  144. public string app_id = "wxf8452955e8de2e46";
  145. public string app_secret = "f9fcae1666d6e9e24cac0f7dd395433d";
  146. public string app_universalLink = "https://70imc.share2dlink.com/";
  147. #endif
  148. #if UNITY_ANDROID
  149. public const int type = (int)PlatformType.WeChat;
  150. public string SortId = "5";
  151. public string AppId = "wxf8452955e8de2e46";
  152. public string AppSecret = "f9fcae1666d6e9e24cac0f7dd395433d";
  153. public string UserName = "万世镜";
  154. public string Path = "/page/API/pages/share/share";
  155. public bool BypassApproval = false;
  156. public bool WithShareTicket = true;
  157. public string MiniprogramType = "0";
  158. #endif
  159. }
  160. [Serializable]
  161. public class WeChatMoments : DevInfo {
  162. #if UNITY_IPHONE || UNITY_IOS
  163. public int type = (int)PlatformType.WeChatMoments;
  164. public string app_id = "wxf8452955e8de2e46";
  165. public string app_secret = "f9fcae1666d6e9e24cac0f7dd395433d";
  166. public string app_universalLink = "https://70imc.share2dlink.com/";
  167. #endif
  168. #if UNITY_ANDROID
  169. public const int type = (int)PlatformType.WeChatMoments;
  170. public string SortId = "6";
  171. public string AppId = "wxf8452955e8de2e46";
  172. public string AppSecret = "f9fcae1666d6e9e24cac0f7dd395433d";
  173. public bool BypassApproval = true;
  174. #endif
  175. }
  176. [Serializable]
  177. public class WeChatFavorites : DevInfo {
  178. #if UNITY_IPHONE || UNITY_IOS
  179. public int type = (int)PlatformType.WeChatFavorites;
  180. public string app_id = "wxf8452955e8de2e46";
  181. public string app_secret = "f9fcae1666d6e9e24cac0f7dd395433d";
  182. public string app_universalLink = "https://70imc.share2dlink.com/";
  183. #endif
  184. #if UNITY_ANDROID
  185. public const int type = (int)PlatformType.WeChatFavorites;
  186. public string SortId = "7";
  187. public string AppId = "wxf8452955e8de2e46";
  188. public string AppSecret = "f9fcae1666d6e9e24cac0f7dd395433d";
  189. #endif
  190. }
  191. [Serializable]
  192. public class Facebook : DevInfo {
  193. #if UNITY_IPHONE || UNITY_IOS
  194. public int type = (int)PlatformType.Facebook;
  195. public string api_key = "1412473428822331";
  196. public string app_secret = "a42f4f3f867dc947b9ed6020c2e93558";
  197. public string display_name = "ShareSDK";
  198. #endif
  199. #if UNITY_ANDROID
  200. public const int type = (int)PlatformType.Facebook;
  201. public string SortId = "8";
  202. public string ConsumerKey = "1412473428822331";
  203. public string ConsumerSecret = "a42f4f3f867dc947b9ed6020c2e93558";
  204. public string RedirectUrl = "https://www.baidu.com/";
  205. public string ShareByAppClient = "true";
  206. #endif
  207. }
  208. [Serializable]
  209. public class Twitter : DevInfo {
  210. #if UNITY_IPHONE || UNITY_IOS
  211. public int type = (int)PlatformType.Twitter;
  212. public string consumer_key = "YUJMMTFOcE93MGI4Zi1aRTlHQnM6MTpjaQ";
  213. public string consumer_secret = "ppuG1yR5Sb7PXn2IZAu-4nJwbhh1mLq3ieJXOkC5wOJpVxmWli";
  214. public string redirect_uri = "https://www.mob.com";
  215. #endif
  216. #if UNITY_ANDROID
  217. public const int type = (int)PlatformType.Twitter;
  218. public string SortId = "9";
  219. public string ConsumerKey = "LRBM0H75rWrU9gNHvlEAA2aOy";
  220. public string ConsumerSecret = "gbeWsZvA9ELJSdoBzJ5oLKX0TU09UOwrzdGfo9Tg7DjyGuMe8G";
  221. public string CallbackUrl = "http://mob.com";
  222. #endif
  223. }
  224. [Serializable]
  225. public class Renren : DevInfo {
  226. #if UNITY_IPHONE || UNITY_IOS
  227. public int type = (int)PlatformType.Renren;
  228. public string app_id = "226427";
  229. public string app_key = "fc5b8aed373c4c27a05b712acba0f8c3";
  230. public string secret_key = "f29df781abdd4f49beca5a2194676ca4";
  231. #endif
  232. #if UNITY_ANDROID
  233. public const int type = (int)PlatformType.Renren;
  234. public string SortId = "10";
  235. public string AppId = "226427";
  236. public string ApiKey = "fc5b8aed373c4c27a05b712acba0f8c3";
  237. public string SecretKey = "f29df781abdd4f49beca5a2194676ca4";
  238. #endif
  239. }
  240. [Serializable]
  241. public class KaiXin : DevInfo {
  242. #if UNITY_IPHONE || UNITY_IOS
  243. public int type = (int)PlatformType.Kaixin;
  244. public string api_key = "358443394194887cee81ff5890870c7c";
  245. public string secret_key = "da32179d859c016169f66d90b6db2a23";
  246. public string redirect_uri = "http://www.sharesdk.cn";
  247. #endif
  248. #if UNITY_ANDROID
  249. public const int type = (int)PlatformType.Kaixin;
  250. public string SortId = "11";
  251. public string AppKey = "358443394194887cee81ff5890870c7c";
  252. public string AppSecret = "da32179d859c016169f66d90b6db2a23";
  253. public string RedirectUri = "http://www.sharesdk.cn";
  254. #endif
  255. }
  256. [Serializable]
  257. public class Email : DevInfo {
  258. #if UNITY_IPHONE || UNITY_IOS
  259. public int type = (int)PlatformType.Mail;
  260. #endif
  261. #if UNITY_ANDROID
  262. public const int type = (int)PlatformType.Mail;
  263. public string SortId = "12";
  264. #endif
  265. }
  266. [Serializable]
  267. public class ShortMessage : DevInfo {
  268. #if UNITY_IPHONE || UNITY_IOS
  269. public int type = (int)PlatformType.SMS;
  270. #endif
  271. #if UNITY_ANDROID
  272. public const int type = (int)PlatformType.SMS;
  273. public string SortId = "13";
  274. #endif
  275. }
  276. [Serializable]
  277. public class Douban : DevInfo {
  278. #if UNITY_IPHONE || UNITY_IOS
  279. public int type = (int)PlatformType.DouBan;
  280. public string api_key = "02e2cbe5ca06de5908a863b15e149b0b";
  281. public string secret = "9f1e7b4f71304f2f";
  282. public string redirect_uri = "http://www.sharesdk.cn";
  283. #endif
  284. #if UNITY_ANDROID
  285. public const int type = (int)PlatformType.DouBan;
  286. public string SortId = "14";
  287. public string ApiKey = "02e2cbe5ca06de5908a863b15e149b0b";
  288. public string Secret = "9f1e7b4f71304f2f";
  289. public string RedirectUri = "http://www.sharesdk.cn";
  290. #endif
  291. }
  292. [Serializable]
  293. public class YouDao : DevInfo {
  294. #if UNITY_IPHONE || UNITY_IOS
  295. public int type = (int)PlatformType.YouDaoNote;
  296. public string consumer_key = "568898243";
  297. public string consumer_secret = "d98217b4020e7f1874263795f44838fe";
  298. public string oauth_callback = "http://www.sharesdk.cn";
  299. #endif
  300. #if UNITY_ANDROID
  301. public const int type = (int)PlatformType.YouDaoNote;
  302. public string SortId = "15";
  303. public string ConsumerKey = "dcde25dca105bcc36884ed4534dab940";
  304. public string ConsumerSecret = "d98217b4020e7f1874263795f44838fe";
  305. public string RedirectUri = "http://www.sharesdk.cn";
  306. public string HostType = "product";
  307. #endif
  308. }
  309. [Serializable]
  310. public class Evernote : DevInfo {
  311. #if UNITY_IPHONE || UNITY_IOS
  312. public int type = (int)PlatformType.Evernote;
  313. public string consumer_key = "46131514-6903";
  314. public string consumer_secret = "08d7a6f3afcc888a";
  315. public int isSandBox = 1;
  316. #endif
  317. #if UNITY_ANDROID
  318. public const int type = (int)PlatformType.Evernote;
  319. public string SortId = "17";
  320. public string ConsumerKey = "sharesdk-7807";
  321. public string ConsumerSecret = "d05bf86993836004";
  322. public bool ShareByAppClient = false;
  323. #endif
  324. }
  325. [Serializable]
  326. public class EvernoteInternational : DevInfo {
  327. #if UNITY_IPHONE || UNITY_IOS
  328. public int type = (int)PlatformType.EvernoteInternational;
  329. public string consumer_key = "46131514-6903";
  330. public string consumer_secret = "08d7a6f3afcc888a";
  331. public int RedirectUrl = 0;
  332. #endif
  333. }
  334. [Serializable]
  335. public class LinkedIn : DevInfo {
  336. #if UNITY_IPHONE || UNITY_IOS
  337. public int type = (int)PlatformType.LinkedIn;
  338. public string api_key = "75x5xdhllzno44";
  339. public string secret_key = "uiS3nlE7XBGmTL3P";
  340. public string redirect_url = "http://mob.com";
  341. #endif
  342. #if UNITY_ANDROID
  343. public const int type = (int)PlatformType.LinkedIn;
  344. public string SortId = "18";
  345. public string ApiKey = "ejo5ibkye3vo";
  346. public string SecretKey = "cC7B2jpxITqPLZ5M";
  347. public string RedirectUrl = "http://www.sharesdk.cn";
  348. #endif
  349. }
  350. [Serializable]
  351. public class GooglePlus : DevInfo {
  352. #if UNITY_IPHONE || UNITY_IOS
  353. public int type = (int)PlatformType.GooglePlus;
  354. public string client_id = "232554794995-4m0c7j0f289fkq05ee0abkso4p9d904i.apps.googleusercontent.com";
  355. public string client_secret = "";
  356. public string redirect_uri = "com.googleusercontent.apps.232554794995-4m0c7j0f289fkq05ee0abkso4p9d904i:/oauthredirect";
  357. #endif
  358. #if UNITY_ANDROID
  359. public const int type = (int)PlatformType.GooglePlus;
  360. public string SortId = "19";
  361. public string ClientID = "236300675100-am5pm8km7md1memjevq8rl9pg5c4s4b8.apps.googleusercontent.com";
  362. public string RedirectUrl = "http://localhost";
  363. public bool ShareByAppClient = false;
  364. public string OfficialVersion = "default";
  365. #endif
  366. }
  367. [Serializable]
  368. public class FourSquare : DevInfo {
  369. #if UNITY_ANDROID
  370. public const int type = (int)PlatformType.Foursquare;
  371. public string SortId = "20";
  372. public string ClientID = "G0ZI20FM30SJAJTX2RIBGD05QV1NE2KVIM2SPXML2XUJNXEU";
  373. public string ClientSecret = "3XHQNSMMHIFBYOLWEPONNV4DOTCDBQH0AEMVGCBG0MZ32XNU";
  374. public string RedirectUrl = "http://www.sharesdk.cn";
  375. #endif
  376. }
  377. [Serializable]
  378. public class Pinterest : DevInfo {
  379. #if UNITY_IPHONE || UNITY_IOS
  380. public int type = (int)PlatformType.Pinterest;
  381. public string client_id = "5057854497590653616";
  382. #endif
  383. #if UNITY_ANDROID
  384. public const int type = (int)PlatformType.Pinterest;
  385. public string SortId = "21";
  386. public string ClientId = "1432928";
  387. #endif
  388. }
  389. [Serializable]
  390. public class Flickr : DevInfo {
  391. #if UNITY_IPHONE || UNITY_IOS
  392. public int type = (int)PlatformType.Flickr;
  393. public string api_key = "cbed81d4a1bc7417693ab7865e354717";
  394. public string api_secret = "4c490343869091f2";
  395. #endif
  396. #if UNITY_ANDROID
  397. public const int type = (int)PlatformType.Flickr;
  398. public string SortId = "22";
  399. public string ApiKey = "33d833ee6b6fca49943363282dd313dd";
  400. public string ApiSecret = "3a2c5b42a8fbb8bb";
  401. public string RedirectUri = "http://www.sharesdk.cn";
  402. #endif
  403. }
  404. [Serializable]
  405. public class Tumblr : DevInfo {
  406. #if UNITY_IPHONE || UNITY_IOS
  407. public int type = (int)PlatformType.Tumblr;
  408. public string consumer_key = "2QUXqO9fcgGdtGG1FcvML6ZunIQzAEL8xY6hIaxdJnDti2DYwM";
  409. public string consumer_secret = "3Rt0sPFj7u2g39mEVB3IBpOzKnM3JnTtxX2bao2JKk4VV1gtNo";
  410. public string callback_url = "http://sharesdk.cn";
  411. #endif
  412. #if UNITY_ANDROID
  413. public const int type = (int)PlatformType.Tumblr;
  414. public string SortId = "23";
  415. public string OAuthConsumerKey = "2QUXqO9fcgGdtGG1FcvML6ZunIQzAEL8xY6hIaxdJnDti2DYwM";
  416. public string SecretKey = "3Rt0sPFj7u2g39mEVB3IBpOzKnM3JnTtxX2bao2JKk4VV1gtNo";
  417. public string CallbackUrl = "http://www.sharesdk.cn";
  418. #endif
  419. }
  420. [Serializable]
  421. public class Dropbox : DevInfo {
  422. #if UNITY_IPHONE || UNITY_IOS
  423. public int type = (int)PlatformType.Dropbox;
  424. public string app_secret = "w0nmp4os3ngo1ja";
  425. public string app_key = "us514wslpfojbxc";
  426. public string oauth_callback = "http://localhost";
  427. #endif
  428. #if UNITY_ANDROID
  429. public const int type = (int)PlatformType.Dropbox;
  430. public string SortId = "24";
  431. public string AppKey = "7janx53ilz11gbs";
  432. public string AppSecret = "c1hpx5fz6tzkm32";
  433. #endif
  434. }
  435. [Serializable]
  436. public class VKontakte : DevInfo {
  437. #if UNITY_IPHONE || UNITY_IOS
  438. public int type = (int)PlatformType.VKontakte;
  439. public string application_id = "5312801";
  440. public string secret_key = "ZHG2wGymmNUCRLG2r6CY";
  441. #endif
  442. #if UNITY_ANDROID
  443. public const int type = (int)PlatformType.VKontakte;
  444. public string SortId = "25";
  445. public string ApplicationId = "3921561";
  446. #endif
  447. }
  448. [Serializable]
  449. public class Instagram : DevInfo {
  450. #if UNITY_IPHONE || UNITY_IOS
  451. public int type = (int)PlatformType.Instagram;
  452. public string client_id = "1145188725813939";
  453. public string client_secret = "256191f3abb381a9d481f6f9bbaef179";
  454. public string redirect_uri = "https://www.mob.com/";
  455. #endif
  456. #if UNITY_ANDROID
  457. public const int type = (int)PlatformType.Instagram;
  458. public string SortId = "26";
  459. public string ClientId = "ff68e3216b4f4f989121aa1c2962d058";
  460. public string ClientSecret = "1b2e82f110264869b3505c3fe34e31a1";
  461. public string RedirectUri = "http://sharesdk.cn";
  462. #endif
  463. }
  464. [Serializable]
  465. public class Yixin : DevInfo {
  466. #if UNITY_IPHONE || UNITY_IOS
  467. public int type = (int)PlatformType.YiXinSession;
  468. public string app_id = "yxfddfe3934340436da964fd20885fe2a4";
  469. public string app_secret = "574471e102e1e5d2a";
  470. public string redirect_uri = "http://www.mob.com";
  471. #endif
  472. #if UNITY_ANDROID
  473. public const int type = (int)PlatformType.YiXinSession;
  474. public string SortId = "27";
  475. public string AppId = "yx0d9a9f9088ea44d78680f3274da1765f";
  476. public bool BypassApproval = true;
  477. #endif
  478. }
  479. [Serializable]
  480. public class YixinMoments : DevInfo {
  481. #if UNITY_IPHONE || UNITY_IOS
  482. public int type = (int)PlatformType.YiXinTimeline;
  483. public string app_id = "yxfddfe3934340436da964fd20885fe2a4";
  484. public string app_secret = "574471e102e1e5d2a";
  485. public string redirect_uri = "http://www.mob.com";
  486. #endif
  487. #if UNITY_ANDROID
  488. public const int type = (int)PlatformType.YiXinTimeline;
  489. public string SortId = "28";
  490. public string AppId = "yx0d9a9f9088ea44d78680f3274da1765f";
  491. public bool BypassApproval = true;
  492. #endif
  493. }
  494. [Serializable]
  495. public class Mingdao : DevInfo {
  496. #if UNITY_IPHONE || UNITY_IOS
  497. public int type = (int)PlatformType.MingDao;
  498. public string app_key = "97230F25CA5C";
  499. public string app_secret = "A5DC29AF7C5A5851F28E903AE9EAC0";
  500. public string redirect_uri = "http://mob.com";
  501. #endif
  502. #if UNITY_ANDROID
  503. public const int type = (int)PlatformType.MingDao;
  504. public string SortId = "29";
  505. public string AppKey = "EEEE9578D1D431D3215D8C21BF5357E3";
  506. public string AppSecret = "5EDE59F37B3EFA8F65EEFB9976A4E933";
  507. public string RedirectUri = "http://sharesdk.cn";
  508. #endif
  509. }
  510. [Serializable]
  511. public class Line : DevInfo {
  512. #if UNITY_IPHONE || UNITY_IOS
  513. public int type = (int)PlatformType.Line;
  514. public string channel_id = "1639219273";
  515. public string app_universalLink = "https://70imc.share2dlink.com/line-auth";
  516. #endif
  517. #if UNITY_ANDROID
  518. public const int type = (int)PlatformType.Line;
  519. public string SortId = "30";
  520. public string ChannelID = "1477692153";
  521. public string ChannelSecret = "f30c036370f2e04ade71c52eef73a9af";
  522. #endif
  523. }
  524. [Serializable]
  525. public class KakaoTalk : DevInfo {
  526. #if UNITY_IPHONE || UNITY_IOS
  527. public int type = (int)PlatformType.KakaoTalk;
  528. public string app_key = "9c17eb03317e0e627ec95a400f5785fb";
  529. public string rest_api_key = "802e551a5048c3172fc1dedaaf40fcf1";
  530. public string redirect_uri = "http://www.mob.com/oauth";
  531. #endif
  532. #if UNITY_ANDROID
  533. public const int type = (int)PlatformType.KakaoTalk;
  534. public string SortId = "31";
  535. public string AppKey = "48d3f524e4a636b08d81b3ceb50f1003";
  536. #endif
  537. }
  538. [Serializable]
  539. public class KakaoStory : DevInfo {
  540. #if UNITY_IPHONE || UNITY_IOS
  541. public int type = (int)PlatformType.KakaoStory;
  542. public string app_key = "9c17eb03317e0e627ec95a400f5785fb";
  543. public string rest_api_key = "802e551a5048c3172fc1dedaaf40fcf1";
  544. public string redirect_uri = "http://www.mob.com/oauth";
  545. #endif
  546. #if UNITY_ANDROID
  547. public const int type = (int)PlatformType.KakaoStory;
  548. public string SortId = "32";
  549. public string AppKey = "48d3f524e4a636b08d81b3ceb50f1003";
  550. #endif
  551. }
  552. [Serializable]
  553. public class WhatsApp : DevInfo {
  554. #if UNITY_IPHONE || UNITY_IOS
  555. public int type = (int)PlatformType.WhatsApp;
  556. #endif
  557. #if UNITY_ANDROID
  558. public const int type = (int)PlatformType.WhatsApp;
  559. public string SortId = "33";
  560. #endif
  561. }
  562. [Serializable]
  563. public class Bluetooth : DevInfo {
  564. #if UNITY_IPHONE || UNITY_IOS
  565. public int type = (int)PlatformType.Bluetooth;
  566. #endif
  567. #if UNITY_ANDROID
  568. public const int type = (int)PlatformType.Bluetooth;
  569. public string SortId = "34";
  570. #endif
  571. }
  572. [Serializable]
  573. public class Pocket : DevInfo {
  574. #if UNITY_IPHONE || UNITY_IOS
  575. public int type = (int)PlatformType.Pocket;
  576. public string consumer_key = "11496-de7c8c5eb25b2c9fcdc2b627";
  577. public string redirect_uri = "pocketapp1234";
  578. #endif
  579. #if UNITY_ANDROID
  580. public const int type = (int)PlatformType.Pocket;
  581. public string SortId = "35";
  582. public string ConsumerKey = "32741-389c565043c49947ba7edf05";
  583. #endif
  584. }
  585. [Serializable]
  586. public class Instapaper : DevInfo {
  587. #if UNITY_IPHONE || UNITY_IOS
  588. public int type = (int)PlatformType.Instapaper;
  589. public string consumer_key = "4rDJORmcOcSAZL1YpqGHRI605xUvrLbOhkJ07yO0wWrYrc61FA";
  590. public string consumer_secret = "GNr1GespOQbrm8nvd7rlUsyRQsIo3boIbMguAl9gfpdL0aKZWe";
  591. #endif
  592. #if UNITY_ANDROID
  593. public const int type = (int)PlatformType.Instapaper;
  594. public string SortId = "36";
  595. public string ConsumerKey = "4rDJORmcOcSAZL1YpqGHRI605xUvrLbOhkJ07yO0wWrYrc61FA";
  596. public string ConsumerSecret = "GNr1GespOQbrm8nvd7rlUsyRQsIo3boIbMguAl9gfpdL0aKZWe";
  597. #endif
  598. }
  599. [Serializable]
  600. public class FacebookMessenger : DevInfo {
  601. #if UNITY_IPHONE || UNITY_IOS
  602. public int type = (int)PlatformType.FacebookMessenger;
  603. public string api_key = "1412473428822331";
  604. #endif
  605. #if UNITY_ANDROID
  606. public const int type = (int)PlatformType.FacebookMessenger;
  607. public string SortId = "37";
  608. public string AppId = "107704292745179";
  609. #endif
  610. }
  611. [Serializable]
  612. public class Copy : DevInfo {
  613. #if UNITY_IPHONE || UNITY_IOS
  614. public int type = (int)PlatformType.Copy;
  615. #endif
  616. #if UNITY_ANDROID
  617. public const int type = (int)PlatformType.Copy;
  618. #endif
  619. }
  620. [Serializable]
  621. public class YixinSeries : DevInfo {
  622. #if UNITY_IPHONE || UNITY_IOS
  623. public int type = (int)PlatformType.YixinPlatform;
  624. public string app_id = "yxfddfe3934340436da964fd20885fe2a4";
  625. public string app_secret = "574471e102e1e5d2a";
  626. public string redirect_uri = "http://www.mob.com";
  627. #endif
  628. }
  629. [Serializable]
  630. public class YixinFavorites : DevInfo {
  631. #if UNITY_IPHONE || UNITY_IOS
  632. public int type = (int)PlatformType.YiXinFav;
  633. public string app_id = "yxfddfe3934340436da964fd20885fe2a4";
  634. public string app_secret = "574471e102e1e5d2a";
  635. public string redirect_uri = "http://www.mob.com";
  636. #endif
  637. }
  638. [Serializable]
  639. public class AliSocial : DevInfo {
  640. #if UNITY_IPHONE || UNITY_IOS
  641. public int type = (int)PlatformType.AliSocial;
  642. public string app_id = "2017062107540437";
  643. #endif
  644. #if UNITY_ANDROID
  645. public const int type = (int)PlatformType.AliSocial;
  646. public string SortId = "50";
  647. public string AppId = "2015072400185895";
  648. #endif
  649. }
  650. [Serializable]
  651. public class AliSocialMoments : DevInfo {
  652. #if UNITY_IPHONE || UNITY_IOS
  653. public int type = (int)PlatformType.AliSocialMoments;
  654. public string app_id = "2017062107540437";
  655. #endif
  656. #if UNITY_ANDROID
  657. public const int type = (int)PlatformType.AliSocialMoments;
  658. public string SortId = "51";
  659. public string AppId = "2015072400185895";
  660. #endif
  661. }
  662. [Serializable]
  663. public class Dingding : DevInfo {
  664. #if UNITY_IPHONE || UNITY_IOS
  665. public int type = (int)PlatformType.Dingding;
  666. public string shareApp_id = "dingoabcwtuab76wy0kyzo";
  667. public string authApp_id = "dingoax9s2mdekb7a6748n";
  668. public string authApp_Secret = "dxx9KwP4BYN975umF6Mi2QW3jL7O3k3qHCSvcCbes5Y5R7mFF1ocd19p4NdzOKD4";
  669. public string authApp_RedirectUri = "https://www.mob.com/sharesdk/dingding";
  670. #endif
  671. #if UNITY_ANDROID
  672. public const int type = (int)PlatformType.Dingding;
  673. #endif
  674. }
  675. [Serializable]
  676. public class WechatSeries : DevInfo {
  677. #if UNITY_IPHONE || UNITY_IOS
  678. public int type = (int)PlatformType.WechatPlatform;
  679. public string app_id = "wx617c77c82218ea2c";
  680. public string app_secret = "c7253e5289986cf4c4c74d1ccc185fb1";
  681. public string app_universalLink = "https://70imc.share2dlink.com/";
  682. #endif
  683. }
  684. [Serializable]
  685. public class QQSeries : DevInfo {
  686. #if UNITY_IPHONE || UNITY_IOS
  687. public int type = (int)PlatformType.QQPlatform;
  688. public string app_id = "1110451818";
  689. public string app_key = "OlbzvuSP3Hgj5yNS";
  690. #endif
  691. }
  692. [Serializable]
  693. public class KakaoSeries : DevInfo {
  694. #if UNITY_IPHONE || UNITY_IOS
  695. public int type = (int)PlatformType.KakaoPlatform;
  696. public string app_key = "9c17eb03317e0e627ec95a400f5785fb";
  697. public string rest_api_key = "802e551a5048c3172fc1dedaaf40fcf1";
  698. public string redirect_uri = "http://www.mob.com/oauth";
  699. #endif
  700. }
  701. [Serializable]
  702. public class Youtube : DevInfo {
  703. #if UNITY_IPHONE || UNITY_IOS
  704. public int type = (int)PlatformType.Youtube;
  705. public string client_secret = "AIzaSyDO66lmq1iQnPZT5ePqy265QylzaX2WCg8";
  706. public string client_id = "232554794995-4m0c7j0f289fkq05ee0abkso4p9d904i.apps.googleusercontent.com";
  707. public string redirect_uri = "http://localhost";
  708. #endif
  709. #if UNITY_ANDROID
  710. public const int type = (int)PlatformType.Youtube;
  711. public string SortId = "53";
  712. public string ClientID = "370141748022-bicrnsjfiije93bvdt63dh3728m4shas.apps.googleusercontent.com";
  713. public string AppSecret = "AIzaSyAO06g-0TDpHcsXXO918a7QE3Zdct2bB5E";
  714. public string RedirectUrl = "http://localhost";
  715. public string ShareByAppClient = "true";
  716. #endif
  717. }
  718. [Serializable]
  719. public class MeiPai : DevInfo {
  720. #if UNITY_IPHONE || UNITY_IOS
  721. public int type = (int)PlatformType.MeiPai;
  722. public string app_key = "1089867596";
  723. #endif
  724. #if UNITY_ANDROID
  725. public const int type = (int)PlatformType.MeiPai;
  726. public string SortId = "54";
  727. public string ClientID = "1089867596";
  728. public string ShareByAppClient = "true";
  729. #endif
  730. }
  731. [Serializable]
  732. public class CMCC : DevInfo {
  733. #if UNITY_IPHONE || UNITY_IOS
  734. public int type = (int)PlatformType.CMCC;
  735. public string app_key = "610FC6F60177B9558C59B45C6FE47B9C";
  736. public string app_id = "300011936870";
  737. public int displayUI = 1;
  738. #endif
  739. #if UNITY_ANDROID
  740. public const int type = (int)PlatformType.CMCC;
  741. public string SortId = "55";
  742. public string AppKey = "2D464D8BFCE73A44B4F9DF95A2FDBE1C";
  743. public string AppId = "300011860247";
  744. #endif
  745. }
  746. [Serializable]
  747. public class Reddit : DevInfo {
  748. #if UNITY_IPHONE || UNITY_IOS
  749. public int type = (int)PlatformType.Reddit;
  750. public string app_key = "ObzXn50T7Cg0Xw";
  751. public string redirect_uri = "https://www.mob.com/reddit_callback";
  752. #endif
  753. #if UNITY_ANDROID
  754. public const int type = (int)PlatformType.Reddit;
  755. public string SortId = "56";
  756. public string AppKey = "MExDxPuTCtFiRw";
  757. public string Id = "56";
  758. public string RedirectUrl = "http://www.sharesdk.cn";
  759. #endif
  760. }
  761. [Serializable]
  762. public class Telegram : DevInfo {
  763. #if UNITY_IPHONE || UNITY_IOS
  764. public int type = (int)PlatformType.Telegram;
  765. public string bot_token = "792340449:AAE9EZeQaXU9wq_r6X7Jalg8jITUEKYr9vw";
  766. public string bot_domain = "https://www.mob.com";
  767. #endif
  768. #if UNITY_ANDROID
  769. public const int type = (int)PlatformType.Telegram;
  770. public string SortId = "47";
  771. public string AppKey = "782826033";
  772. public string RedirectUrl = "http://www.mob.com";
  773. #endif
  774. }
  775. [Serializable]
  776. public class ESurfing : DevInfo {
  777. #if UNITY_IPHONE || UNITY_IOS
  778. public int type = (int)PlatformType.ESurfing;
  779. public string app_key = "8252014408";
  780. public string app_secret = "bkqJOALOPc2i6V6R5mEjqLyuzrxF8rWD";
  781. public string app_name = "天天日记";
  782. #endif
  783. #if UNITY_ANDROID
  784. public const int type = (int)PlatformType.ESurfing;
  785. public string SortId = "57";
  786. public string AppKey = "8148612606";
  787. public string AppSecret = "mCltrhUqwshFa86egDTs0491ibaAulKA";
  788. public string RedirectUrl = "http://www.sharesdk.cn";
  789. #endif
  790. }
  791. [Serializable]
  792. public class FacebookAccount : DevInfo {
  793. #if UNITY_IPHONE || UNITY_IOS
  794. public int type = (int)PlatformType.FacebookAccount;
  795. public string app_id = "1412473428822331";
  796. public string client_token = "c30c08723aa8c48fbd5e01d1c3103891";
  797. #endif
  798. #if UNITY_ANDROID
  799. public const int type = (int)PlatformType.FacebookAccount;
  800. public string SortId = "58";
  801. public string AppKey = "579465512480462";
  802. public string AppSecret = "8a6383652dd9f23fb0994f03d350d0ca";
  803. public string RedirectUrl = "http://www.sharesdk.cn";
  804. #endif
  805. }
  806. [Serializable]
  807. public class Douyin : DevInfo {
  808. #if UNITY_IPHONE || UNITY_IOS
  809. public int type = (int)PlatformType.Douyin;
  810. public string app_key = "awycvl19mldccyso";
  811. public string app_secret = "8793a4dfdc3636cbda0924a3cfbc8424";
  812. #endif
  813. #if UNITY_ANDROID
  814. public const int type = (int)PlatformType.Douyin;
  815. public string SortId = "59";
  816. public string AppKey = "aw9ivykfjvi4hpwo";
  817. public string AppSecret = "42b4caa6bda60bd49f05f06d0a4956e1";
  818. #endif
  819. }
  820. [Serializable]
  821. public class TikTok : DevInfo {
  822. #if UNITY_IPHONE || UNITY_IOS
  823. public int type = (int)PlatformType.TikTok;
  824. public string app_key = "aw3vqar8qg1oy91q";
  825. public string app_secret = "18cf1714c53e9f9c64aec484ca4f2e29";
  826. #endif
  827. #if UNITY_ANDROID
  828. public const int type = (int)PlatformType.TikTok;
  829. #endif
  830. }
  831. [Serializable]
  832. public class WeWork : DevInfo {
  833. #if UNITY_IPHONE || UNITY_IOS
  834. public int type = (int)PlatformType.WeWork;
  835. public string app_Key = "wwa21eaecf93f0e3ba";
  836. public string app_secret = "dW7e27P7Hc8NiYdRxnbTeOLgfI1ugR72e";
  837. public string agent_id = "1000012";
  838. public string schema = "wwautha21eaecf93f0e3ba000012";
  839. #endif
  840. #if UNITY_ANDROID
  841. public const int type = (int)PlatformType.WeWork;
  842. public string SortId = "60";
  843. public string AppKey = "wwa21eaecf93f0e3ba";
  844. public string AppSecret = "dW7e27P7Hc8NiYdRxnbTeOLgfI1ugR72e";
  845. public string AgentId = "1000012";
  846. public string Schema = "wwautha21eaecf93f0e3ba000012";
  847. #endif
  848. }
  849. [Serializable]
  850. public class Oasis : DevInfo {
  851. #if UNITY_IPHONE || UNITY_IOS
  852. public int type = (int)PlatformType.Oasis;
  853. public string app_key = "568898243";
  854. #endif
  855. #if UNITY_ANDROID
  856. public const int type = (int)PlatformType.Oasis;
  857. public string SortId = "64";
  858. public string AppKey = "568898243";
  859. public string AppSecret = "38a4f8204cc784f81f9f0daaf31e02e3";
  860. public string RedirectUrl = "http://www.sharesdk.cn";
  861. #endif
  862. }
  863. [Serializable]
  864. public class KuaiShou : DevInfo {
  865. #if UNITY_IPHONE || UNITY_IOS
  866. public int type = (int)PlatformType.KuaiShou;
  867. public string app_id = "ks705657770555308030";
  868. public string app_secret = "RQ17enXUOioeoDMrwk3j2Q";
  869. public string app_universalLink = "https://70imc.share2dlink.com/";
  870. #endif
  871. #if UNITY_ANDROID
  872. public const int type = (int)PlatformType.KuaiShou;
  873. #endif
  874. }
  875. [Serializable]
  876. public class SnapChat : DevInfo {
  877. #if UNITY_IPHONE || UNITY_IOS
  878. public int type = (int)PlatformType.SnapChat;
  879. public string client_id = "dc8e6068-0578-41b8-8392-4da009519725";
  880. public string RedirectUrl = "http://www.sharesdk.cn";
  881. public string redirect_uri = "ssdkmoba0b0c0d0://mob";
  882. #endif
  883. }
  884. [Serializable]
  885. public class Apple : DevInfo {
  886. #if UNITY_IPHONE || UNITY_IOS
  887. public const int type = (int)PlatformType.Apple;
  888. #endif
  889. }
  890. [Serializable]
  891. public class WatermelonVideo : DevInfo {
  892. #if UNITY_IPHONE
  893. public const int type = (int)PlatformType.WatermelonVideo;
  894. #endif
  895. }
  896. [Serializable]
  897. public class RestoreSceneConfigure {
  898. #if UNITY_IPHONE || UNITY_IOS
  899. public string capabilititesAssociatedDomain = "applinks:ahmn.t4m.cn";
  900. public string capabilititesEntitlementsPathInXcode = "Unity-iPhone/Base.entitlements";
  901. #endif
  902. public bool Enable = false;
  903. }
  904. public class RestoreSceneInfo {
  905. public string path;
  906. public Hashtable customParams;
  907. public RestoreSceneInfo(string scenePath, Hashtable sceneCustomParams) {
  908. }
  909. }
  910. }