| | |
| | | _rootDict.SetString("NSPhotoLibraryAddUsageDescription", "Bạn phải cấp quyền cho album ảnh, để chụp ảnh màn hình và lưu dữ cho người dùng"); |
| | | _rootDict.SetString("NSCameraUsageDescription", "Hãy cho phép quyền ứng dùng để truy cập,nếu không thì chức năng sẽ không khởi động được"); |
| | | //此标识符将用于向您推荐个性化广告 |
| | | _rootDict.SetString("NSUserTrackingUsageDescription", "Hướng dẫn này sẽ xuất hiện guảng cáo có cá tính của riêng bạn"); |
| | | _rootDict.SetString("NSUserTrackingUsageDescription", "Hướng dẫn này sẽ xuất hiện quảng cáo có cá tính của riêng bạn"); |
| | | |
| | | //AF |
| | | _rootDict.SetString("AFAppleId", "6476482827"); |
| | |
| | | //修改UnityAppController.mm 文件 |
| | | var _xclass = new XClass(projectPath + "/Classes/UnityAppController.mm"); |
| | | //引入UniversalSDK |
| | | _xclass.WriteBelow("#include \"PluginBase/AppDelegateListener.h\"", "#include \"UniversalSDK.h\"" + "\n#import <DevMoHuanFramework/MoHuanSDK.h>"); |
| | | _xclass.WriteBelow("#include \"PluginBase/AppDelegateListener.h\"", "#include \"UniversalSDK.h\"" + "\n#import <MHVNFramework/MoHuanSDK.h>"); |
| | | //unity交互调用的方法 |
| | | string newCode = "\n" + |
| | | "extern \"C\" void IOSMessageHandle(const char* jsonString) {\n" + |