[mod]
This commit is contained in:
parent
d9c19f096c
commit
32f7395db5
@ -823,7 +823,7 @@
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../cocos2d-x/external/ios/libs";
|
||||
MARKETING_VERSION = 2.0;
|
||||
MARKETING_VERSION = 2.1;
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"$(inherited)",
|
||||
@ -873,7 +873,7 @@
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../cocos2d-x/external/ios/libs";
|
||||
MARKETING_VERSION = 2.0;
|
||||
MARKETING_VERSION = 2.1;
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"$(inherited)",
|
||||
|
Binary file not shown.
@ -35,7 +35,7 @@
|
||||
|
||||
+ (void) JSBridge:(NSString *)value1 value2:(NSString *)value2;
|
||||
+ (NSString*) getIntent;
|
||||
+ (void) FirebaseGetToken;
|
||||
+ (NSString*) GetFCMToken;
|
||||
+ (void) TTS_Play:(NSString *) msg;
|
||||
|
||||
@property(nonatomic, readonly) RootViewController* viewController;
|
||||
|
@ -233,14 +233,10 @@ std::string IsStart = "0";
|
||||
|
||||
#pragma mark- FireBase
|
||||
|
||||
+ (void) FirebaseGetToken {
|
||||
+ (NSString*) GetFCMToken {
|
||||
NSString *fcmToken = [Firebase_OC FcmToken];
|
||||
|
||||
// 呼叫JS的window.JSBridge
|
||||
std::string value = std::string([fcmToken UTF8String]);
|
||||
std::string jsCallStr = cocos2d::StringUtils::format("Firebase_log(\"%s\");", value.c_str());
|
||||
se::Value *ret = new se::Value();
|
||||
se::ScriptEngine::getInstance()->evalString(jsCallStr.c_str() , -1 , ret);
|
||||
return [NSString stringWithUTF8String:value.c_str()];
|
||||
}
|
||||
|
||||
#pragma mark- TTS
|
||||
|
@ -3,9 +3,9 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<string>zh_TW</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>建喵記帳</string>
|
||||
<string>卡羅記帳</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
Loading…
Reference in New Issue
Block a user