diff --git a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.pbxproj b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.pbxproj
index 551c875..3342f5b 100755
--- a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.pbxproj
+++ b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.pbxproj
@@ -823,7 +823,7 @@
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../cocos2d-x/external/ios/libs";
- MARKETING_VERSION = 2.1;
+ MARKETING_VERSION = 3.0;
OTHER_LDFLAGS = (
"-ObjC",
"$(inherited)",
@@ -873,7 +873,7 @@
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../cocos2d-x/external/ios/libs";
- MARKETING_VERSION = 2.1;
+ MARKETING_VERSION = 3.0;
OTHER_LDFLAGS = (
"-ObjC",
"$(inherited)",
diff --git a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.xcworkspace/xcuserdata/jianmiau.xcuserdatad/UserInterfaceState.xcuserstate b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.xcworkspace/xcuserdata/jianmiau.xcuserdatad/UserInterfaceState.xcuserstate
index 1691682..4575fbd 100644
Binary files a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.xcworkspace/xcuserdata/jianmiau.xcuserdatad/UserInterfaceState.xcuserstate and b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/project.xcworkspace/xcuserdata/jianmiau.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/xcuserdata/jianmiau.xcuserdatad/xcschemes/xcschememanagement.plist b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/xcuserdata/jianmiau.xcuserdatad/xcschemes/xcschememanagement.plist
index b43a108..dede0fd 100644
--- a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/xcuserdata/jianmiau.xcuserdatad/xcschemes/xcschememanagement.plist
+++ b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/JMKA.xcodeproj/xcuserdata/jianmiau.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -7,7 +7,7 @@
JMKA-desktop.xcscheme_^#shared#^_
orderHint
- 3
+ 1
JMKA-mobile.xcscheme_^#shared#^_
diff --git a/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/ios/Firebase_S.swift b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/ios/Firebase_S.swift
new file mode 100644
index 0000000..70ec85c
--- /dev/null
+++ b/build-templates/jsb-default/frameworks/runtime-src/proj.ios_mac/ios/Firebase_S.swift
@@ -0,0 +1,72 @@
+//
+// Firebase_S.swift
+// JMKA-mobile
+//
+// Created by JianMiau on 2022/8/26.
+//
+
+import UIKit
+import Foundation
+//import UserNotifications
+//import Firebase
+
+//class Firebase_S: NSObject, UNUserNotificationCenterDelegate, MessagingDelegate {
+// @objc public func onLoad(_ application: UIApplication) {
+// FirebaseApp.configure()
+// Messaging.messaging().delegate = self
+// if #available(iOS 10.0, *) {
+// // For iOS 10 display notification (sent via APNS)
+// UNUserNotificationCenter.current().delegate = self
+//
+// let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
+// UNUserNotificationCenter.current().requestAuthorization(
+// options: authOptions,
+// completionHandler: { _, _ in }
+// )
+// } else {
+// let settings: UIUserNotificationSettings =
+// UIUserNotificationSettings(types: [.alert, .badge, .sound], categories: nil)
+// application.registerUserNotificationSettings(settings)
+// }
+//
+// application.registerForRemoteNotifications()
+// }
+//
+// @objc public func getFMTCoken() {
+// Messaging.messaging().token { token, error in
+// if let error = error {
+// print("Error fetching FCM registration token: \(error)")
+// } else if let token = token {
+// print("FCM registration token: \(token)")
+// // self.fcmRegTokenMessage.text = "Remote FCM registration token: \(token)"
+// }
+// }
+// }
+//}
+
+//extension Firebase_S: MessagingDelegate {
+//
+// func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String?) {
+// print("fcm Token", fcmToken ?? "")
+// // 將 fcm token 傳送給後台
+// }
+//}
+
+//extension Firebase_S: UNUserNotificationCenterDelegate {
+// // 使用者點選推播時觸發
+// func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
+// print(#function)
+// let content = response.notification.request.content
+// print(content.userInfo)
+// completionHandler()
+// }
+//
+// // 讓 App 在前景也能顯示推播
+// func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
+// if #available(iOS 14.0, *) {
+// completionHandler([.banner])
+// } else {
+// // Fallback on earlier versions
+// }
+// }
+//}