抓娃娃版1127

MyInterfaceController.m 901B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // MyInterfaceController.m
  3. // OpenLive
  4. //
  5. // Created by jcymac on 2017/11/6.
  6. // Copyright © 2017年 Agora. All rights reserved.
  7. //
  8. //#define QQ_APP_ID @"780e0e81bd"
  9. #import <Bugly/Bugly.h>
  10. #import "MyInterfaceController.h"
  11. //#import <PgySDK/PgyManager.h>
  12. //#import <PgyUpdate/PgyUpdateManager.h>
  13. #define QQ_APP_ID @"780e0e81bd"
  14. //#define PGY_APP_ID @"c9f036f976eb6ccd2e0350418c31bc98"
  15. @implementation MyInterfaceController
  16. - (instancetype)init
  17. {
  18. self = [super init];
  19. if (self) {
  20. NSLog(@"集成蒲公英SDK");
  21. [Bugly startWithAppId:QQ_APP_ID];
  22. //启动基本SDK
  23. // [[PgyManager sharedPgyManager] startManagerWithAppId:PGY_APP_ID];
  24. // //启动更新检查SDK
  25. // [[PgyUpdateManager sharedPgyManager] startManagerWithAppId:PGY_APP_ID];
  26. // [[PgyManager sharedPgyManager] setEnableFeedback:NO];
  27. }
  28. return self;
  29. }
  30. @end