diff --git a/FireBoltt.xcodeproj/project.pbxproj b/FireBoltt.xcodeproj/project.pbxproj index cc796f5..81293bc 100644 --- a/FireBoltt.xcodeproj/project.pbxproj +++ b/FireBoltt.xcodeproj/project.pbxproj @@ -678,6 +678,7 @@ 61DF3C522AB1460300E69AE9 /* UIColor+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIColor+Extension.m"; sourceTree = ""; }; 61DF3C532AB1460300E69AE9 /* XFGradientProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XFGradientProgressView.m; sourceTree = ""; }; 61DF3C562AB1A5EA00E69AE9 /* DeviceFooterView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceFooterView.swift; sourceTree = ""; }; + 61DF3C582AB555F400E69AE9 /* FireBoltt.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = FireBoltt.entitlements; sourceTree = ""; }; 716B2A812AA8CA41006F17EB /* FireBoltt-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FireBoltt-Bridging-Header.h"; sourceTree = ""; }; 716B2A992AA8D264006F17EB /* BlueToothItemFireBoltt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BlueToothItemFireBoltt.m; sourceTree = ""; }; 716B2A9A2AA8D264006F17EB /* BluetoothToolFireBoltt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BluetoothToolFireBoltt.h; sourceTree = ""; }; @@ -1533,6 +1534,7 @@ CC97218A240B67E90075F8AA /* FireBoltt */ = { isa = PBXGroup; children = ( + 61DF3C582AB555F400E69AE9 /* FireBoltt.entitlements */, 61BFD4E32AA180E4002390B3 /* MobileModule */, CC560D06242665AD00578115 /* Tool */, CCE8FFE22413548500E5E23D /* Managers */, @@ -2530,6 +2532,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = FireBoltt/FireBoltt.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -2555,7 +2558,7 @@ "@executable_path/Frameworks", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; - MARKETING_VERSION = 1.1.1; + MARKETING_VERSION = 1.0.0; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.ecell.www.fireboltts; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2574,6 +2577,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = FireBoltt/FireBoltt.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -2599,7 +2603,7 @@ "@executable_path/Frameworks", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; - MARKETING_VERSION = 1.1.1; + MARKETING_VERSION = 1.0.0; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = com.ecell.www.fireboltts; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate b/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate index aa8b92e..982ed22 100644 Binary files a/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate and b/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index dfc67b1..33ed6d5 100644 --- a/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/FireBoltt.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -127,5 +127,21 @@ + + + + diff --git a/FireBoltt/Application/AppDelegate.swift b/FireBoltt/Application/AppDelegate.swift index e5701aa..b3c331f 100644 --- a/FireBoltt/Application/AppDelegate.swift +++ b/FireBoltt/Application/AppDelegate.swift @@ -7,6 +7,7 @@ // import UIKit +import UserNotifications @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate { @@ -18,6 +19,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD let screen = UIScreen.main.bounds window = UIWindow(frame: screen) Application.shared.presentInitialScreen(in: window!) + /// 注册本地通知 +// regisigerNotification(application) + JL_Tools.openLogTextFile() // // 蓝牙库 // Bluetooth.shareInstance() @@ -78,12 +82,47 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD backTask = .invalid } } - - + func regisigerNotification(_ application: UIApplication){ + UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { success, error in + if !success { + NSLog("本地通知未打开,请授权APP使用您的本地通知") + } + } + + if #available(iOS 10.0, *) { + let center = UNUserNotificationCenter.current() + center.delegate = self + center.requestAuthorization(options: [.alert, .sound, .badge]) { (granted: Bool, error: Error?) in + DispatchQueue.main.async { + if granted { application.registerForRemoteNotifications() } + } + } + } else { + let settings = UIUserNotificationSettings(types: [.alert, .sound, .badge], categories: nil) + application.registerForRemoteNotifications() + application.registerUserNotificationSettings(settings) + } + + } + + func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { + NSLog("通知注册完毕") + } + + func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) { + NSLog("通知注册失败error:\(error)") + } + + func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { + completionHandler(UNNotificationPresentationOptions.alert) + } + } + + extension AppDelegate { diff --git a/FireBoltt/Const/MultiLanguageKey.swift b/FireBoltt/Const/MultiLanguageKey.swift index 2e43e2b..1335c3d 100644 --- a/FireBoltt/Const/MultiLanguageKey.swift +++ b/FireBoltt/Const/MultiLanguageKey.swift @@ -111,8 +111,9 @@ struct MultiLanguageKey_FB { static let photoFB = "照片" static let unitSetFB = "单位设置" static let targetSetFB = "目标设置" - static let privacyFB = "隐私政策" - static let serviceFB = "用户协议" + static let privacyFB = "隐私政策" + static let serviceFB = "用户协议" + static let disclaimerFB = "免责声明" static let aboutFB = "关于" static let stepTipFB = "步" static let sleepFB = "睡眠" diff --git a/FireBoltt/FB_Modules/FB_Device/Service/BluetoothService.swift b/FireBoltt/FB_Modules/FB_Device/Service/BluetoothService.swift index 5e5a6b3..0aa4a3b 100644 --- a/FireBoltt/FB_Modules/FB_Device/Service/BluetoothService.swift +++ b/FireBoltt/FB_Modules/FB_Device/Service/BluetoothService.swift @@ -465,7 +465,7 @@ extension BluetoothService { //设置支持后台 try? audioSession.setActive(true) // 播放系统音乐 - if let path = Bundle.main.path(forResource: "music", ofType: "m4r") { + if let path = Bundle.main.path(forResource: "fbs_music", ofType: "m4r") { AudioServicesCreateSystemSoundID(URL(fileURLWithPath: path) as CFURL, &systemSoundID) } // 重复响铃 @@ -520,37 +520,37 @@ extension BluetoothService { } // MARK: - 发送本地通知 - func localNotification(title: String, body: String, dateComponents: DateComponents? = nil, userInfo : [AnyHashable : Any]? = nil) { - if #available(iOS 10, *) { - let content = UNMutableNotificationContent() - content.title = title - content.body = body - content.userInfo = userInfo ?? [:] - - var trigger: UNNotificationTrigger? - if let dataCompontnts = dateComponents { - trigger = UNCalendarNotificationTrigger(dateMatching: dataCompontnts, repeats: false) - } - - - let random = Int(arc4random_uniform(999999999)) - - - let request = UNNotificationRequest(identifier: "id\(random)", content: content, trigger: trigger) - UNUserNotificationCenter.current().add(request, withCompletionHandler: { error in - print(error ?? "error:nil") - }) - } else { - let localNotification = UILocalNotification() - localNotification.fireDate = dateComponents?.date ?? Date() - localNotification.alertBody = body - localNotification.alertTitle = title - localNotification.userInfo = userInfo - localNotification.timeZone = NSTimeZone.default - localNotification.soundName = UILocalNotificationDefaultSoundName - UIApplication.shared.scheduleLocalNotification(localNotification) - } - } + func localNotification(title: String, body: String, dateComponents: DateComponents? = nil, userInfo : [AnyHashable : Any]? = nil) { + if #available(iOS 10, *) { + let content = UNMutableNotificationContent() + content.title = title + content.body = body + content.userInfo = userInfo ?? [:] + + var trigger: UNNotificationTrigger? + if let dataCompontnts = dateComponents { + trigger = UNCalendarNotificationTrigger(dateMatching: dataCompontnts, repeats: false) + } + + + let random = Int(arc4random_uniform(999999999)) + + + let request = UNNotificationRequest(identifier: "id\(random)", content: content, trigger: trigger) + UNUserNotificationCenter.current().add(request, withCompletionHandler: { error in + print(error ?? "error:nil") + }) + } else { + let localNotification = UILocalNotification() + localNotification.fireDate = dateComponents?.date ?? Date() + localNotification.alertBody = body + localNotification.alertTitle = title + localNotification.userInfo = userInfo + localNotification.timeZone = NSTimeZone.default + localNotification.soundName = UILocalNotificationDefaultSoundName + UIApplication.shared.scheduleLocalNotification(localNotification) + } + } } diff --git a/FireBoltt/FB_Modules/FB_My/Controller/AboutVC.swift b/FireBoltt/FB_Modules/FB_My/Controller/AboutVC.swift index 6d172bc..0ec2997 100644 --- a/FireBoltt/FB_Modules/FB_My/Controller/AboutVC.swift +++ b/FireBoltt/FB_Modules/FB_My/Controller/AboutVC.swift @@ -21,7 +21,8 @@ class AboutVC: ViewController { constrain.constant = kScaleWidth(constrain.constant) } } - aboutLabel.text = "Version \(kAppCurrentVersion ?? "").\(kAppBuildVersion ?? "")" +// aboutLabel.text = "Version \(kAppCurrentVersion ?? "").\(kAppBuildVersion ?? "")" + aboutLabel.text = "Version \(kAppCurrentVersion ?? "")" } } diff --git a/FireBoltt/FB_Modules/FB_My/Controller/MineViewController.swift b/FireBoltt/FB_Modules/FB_My/Controller/MineViewController.swift index f45a129..eec4814 100644 --- a/FireBoltt/FB_Modules/FB_My/Controller/MineViewController.swift +++ b/FireBoltt/FB_Modules/FB_My/Controller/MineViewController.swift @@ -116,6 +116,14 @@ class MineViewController: TableViewController { vc.url = "http://wx.ecellsz.com/mp/appAgreement.html" vc.hidesBottomBarWhenPushed = true; self?.navigationController!.pushViewController(vc, animated: true) + case .disclaimerFB: + print("免责声明") + let vc = commWebViewController() + vc.view.backgroundColor = UIColor.white; + vc.navTitle = MultiLanguageKey_FB.disclaimerFB.localized + vc.url = MultiLanguageKey_FB.disclaimerFB.localized + vc.hidesBottomBarWhenPushed = true; + self?.navigationController!.pushViewController(vc, animated: true) } }) .disposed(by: rx.disposeBag) diff --git a/FireBoltt/FB_Modules/FB_My/Controller/commWebViewController.m b/FireBoltt/FB_Modules/FB_My/Controller/commWebViewController.m index 8e9df18..fd95eff 100644 --- a/FireBoltt/FB_Modules/FB_My/Controller/commWebViewController.m +++ b/FireBoltt/FB_Modules/FB_My/Controller/commWebViewController.m @@ -350,11 +350,18 @@ NSString *content; if ([self.url isEqualToString:@"http://wx.ecellsz.com/mp/iosPrivacy.html"]) { + /// 隐私政策 content = @"  Privacy policy\n    FireBoltt Respect and protect the personal privacy rights of all service users。In order to provide you with more accurate and personalized services, FireBoltt will use and disclose your personal information in accordance with the provisions of this Privacy Policy. But the FireBoltt will treat this information with a high degree of diligence and prudence.Unless otherwise provided in this Privacy Policy, FireBoltt will not disclose or provide such information to third parties without your prior permission. When you agree to the FireBoltt Service Use Agreement, you shall be deemed to have agreed to the whole content of this Privacy Policy. This Privacy Statement applies to all related services of FireBoltt. With the scope of FireBoltt services, the contents can be updated by FireBoltt without further notice.The updated privacy statement will effectively replace the original privacy statement once published.\n\n1.Scope of application\na) Personal registration information that you provide as per FireBoltt requirements when you register your FireBoltt account;\nb) FireBoltt Personal data of users obtained from business partners through legal channels;\nc) FireBoltt To obtain the location information, on the one hand, the scanning device needs to obtain the location information, on the other hand, it obtains the current location weather to push the weather information to the device, and the server will not save the user's location information;\nd) FireBoltt Read, modify or delete the contents of the memory card to save the user added and modified personal avatar information;\ne) FireBoltt Use the camera permission for users to take photos and modify their personal profile picture information;\nf) FireBoltt Receive SMS / read SMS / MMS to send the SMS obtained from the mobile phone to the device;;\ng) FireBoltt Answer calls / make calls, used for the device end to control the mobile phone call hang up and answer;\nh)FireBoltt Read / modify / delete call records / read call status / read contacts, used for SMS notification and call notification to the device end for mobile phone number comparison contacts;\ni)FireBoltt Self-start, used to maintain the Bluetooth connection of the device to timely send the notification received by the phone to the device end.\n\n2. Information use\na) FireBoltt Will not provide, sell, lease, share or trade your personal information to any unrelated third party unless with prior permission, or the third party and FireBoltt (including FireBoltt affiliates), individually or jointly, provide access to you.\nb) FireBoltt Do not allow any third party to collect, edit, sell or disseminate your personal information by any means. If any FireBoltt platform user engin the above activities, FireBoltt has the right to terminate the service agreement with the user immediately.\n\n3. Information disclosure\n\nThe FireBoltt will disclose your personal information in whole or in part under your personal will or law if:\n\na)Disclose to a third party with your prior consent;\nb)Disclosing to a third party or administrative or judicial organs in accordance with the relevant provisions of the law or the requirements of administrative or judicial organs;\nc) If you violate relevant India laws, regulations or FireBoltt service agreements or relevant rules, you need to disclose them to a third party;\nd) If you are an qualified intellectual property complainant and have filed a complaint, it should be disclosed to the complainant at the request of the complainant, so that both parties can deal with possible rights disputes;\ne) Other FireBoltt disclosures as deemed appropriate in accordance with laws, regulations or website policies。\n\n4. Information storage and exchange\nFireBoltt The information and data collected about you will be stored on the servers of FireBoltt and (or) its affiliated companies, which may be transmitted to your country, region or where FireBoltt collects the information and data and be accessed, stored and displayed abroad。\n\n5. Information safety\na) FireBoltt Accounts have security protection function, please keep your user name and password information properly. FireBoltt You will ensure that your information is not lost, abused and altered through security measures such as encrypted user passwords.Despite the aforementioned security measures, please also note that there is no ""perfect security measures"" on the information network.\nb) Please properly protect your personal information properly and provide it to others only if necessary. If you find that your personal information is leaked, especially the FireBoltt user name and password are leaked, please contact FireBoltt customer service immediately, so that FireBoltt can take corresponding measures.\n\n6. Third-party SDK privacy policy\na) Amap\nAmap was introduced to show the user's movement trajectory on the map. Amap ensures the normal operation of its products and services, and provides you with problem diagnosis or equipment testing services and data statistics, as well as your convenience in the use of Autonavi products and services,Amap was introduced to show the user's movement trajectory on the map. Amap ensures the normal operation of its products and services, and provides you with problem diagnosis or equipment testing services and data statistics, as well as your convenience in the use of Autonavi products and services.Device network environment information (IP address, WiFi information, base station information and other network-related information) is based on different devices and systems (Android / iOS) and system versions,Device network environment information (IP address, WiFi information, base station information and other network-related information) is based on different devices and systems (Android / iOS) and system versions.\nb) Buyly\nThe information collected by Bugly is designed to more truly restore the Crash scene service for developers, so as to fix the Bug and improve the user experience. Bugly will get the following information:\nCrash environment: Crash information and thread stack, ROM / RA M/SD card capacity, network / language status, etc\nApp information: package name, version, and process name\n设Equipment information: Android id, used to judge the Crash equipment for statistics.\nBugly Privacy agreement document download address\nc)Ali HTTPDNS\nIn order to effectively solve the traditional domain name resolution is easy to be hijacked, inaccurate resolution, untimely update, unstable service and other problems, the APP introduced HTTPDNS.HTTPDNS The following information is collected:\nEquipment information, operator information, and network information\nEquipment information, including the operating system, equipment model, IP, and operator information\nDevice information, operator information, network information, application list\nNetwork information, equipment information includes the operating system, equipment model, IP, operator information\nNetwork information, equipment information including, AndroidID, operating system, equipment model, operator information, audio recording, picture\nHTTPDNS Privacy agreement\nPrivacy agreement\nDeveloper: Boltt Games Pvt.LtdDeveloper contact Developer contact information:infocare@boltt.com\n\nBoltt Games Pvt.Ltd\nOn Aug 01th,2023"; } + else if ([self.url isEqualToString:@"http://wx.ecellsz.com/mp/appAgreement.html"]) + { + /// 用户协议 + content = @"  Special tips\n  Boltt Games Pvt.Ltd (hereinafter referred to as ""FireBoltt"") hereby reminds you (users) to read this User Agreement (the ""Agreement"") carefully before registering as a user to ensure that you fully understand the terms of this Agreement.Your registration, login, use will be deemed an acceptance of this Agreement and agree to be bound by the terms of this Agreement.\n\nHis Agreement specifies the rights and obligations between users and the ""FireBoltt"" Software Service.""User"" means an individual who registers, logs in, and uses the Service.This Agreement may be updated at any time. The updated terms of the Agreement shall replace the original terms of the Agreement without further notice, and users may check the latest version of the terms of the Agreement on this website.After the modification of the terms of the agreement, if the user does not accept the modified terms, please immediately stop using the services provided by FireBoltt, and the user continues to use the services provided by Isai will be deemed to accept the modified agreement.\n\n1.Authorizing the collection of personal information\n1.1、Personal information refers to the information recorded in electronic or other means to identify the identity of a specific natural person or reflect the activity of a specific natural person in combination of a particular natural person.\n1.2、Personal information involved in ""FireBoltt"" includes: basic information (including personal name, birthday, last name, height, weight); address book; personal common equipment information;Personal location information (including itinerary information, accurate positioning information, longitude and latitude, etc.); personal health information (activity management, sleep analysis, physical training, heart rate, steps, walking, exercise distance, etc.).\n1.3、When using the service, FireBoltt may collect personal information that can identify the user so that FireBolttcan contact users if necessary or provide users with a better use experience.The information collected by FireBoltt includes but is not limited to the gender, age, date of birth and personal description; the use of the information shall be subject to the protection of the personal privacy information of Article 3.\n\n2.Service content\n2.1、The specific content of this service shall be provided by FireBoltt according to the actual situation, including but not limited to authorized users to make instant messaging, add friends, join groups and post messages through their accounts.FireBoltt can change the service provided, and the service content provided by it may change at any time; users will receive the notification of the service change.\n2.2、All the services provided by FireBoltt are free. If the charging service function is added in the later period, it will be notified later.\n\n3. Protection of the user's personal privacy information\n3.1、When registering an account or using the Service, users may need to fill in or submit some necessary information, such as the identity information specified in laws, regulations, rules and normative documents (hereinafter referred to as ""Laws and Regulations"").If the information submitted by the user is incomplete or does not comply with the provisions of laws and regulations, the user may not be able to use the Service or be restricted in the process of using the Service.\n3.2、Personal privacy information refers to the information involving the user's personal identity or personal privacy, such as the user's real name, ID card number, mobile phone number, mobile phone device identification number, IP address, and the user's chat record.Non-personal privacy information refers to the basic record information clearly and objectively reflected in the server side outside the scope of personal privacy information,And the above privacy information that the user agrees to disclose.\n3.3、Respecting the privacy of users 'personal privacy information is a consistent system of FireBoltt, which will take technical measures and other necessary measures to ensure the security of users' personal privacy information,Prevent the disclosure, damage or loss of users' personal privacy information collected in the Service. In the event of the aforementioned situation or Momo's discovery of the aforementioned situation, remedial measures will be taken in time.\n\n4、FireBoltt does not disclose users 'personal privacy information to any third party without the user's consent. Except for the following specific circumstances:\n(1) Provide users' personal privacy information in accordance with laws and regulations or instructions of competent authorities;\n(2) Any leakage of personal information or the disclosure of personal privacy information for other reasons not caused by the user informs others or shares the registered account and password with others;\n(3) Users shall disclose their personal privacy information to a third party by themselves;\n(4) The user reaches an agreement between the user and the cooperative unit on the disclosure of the user's personal privacy information, and the user closes the user's personal privacy information to the cooperative unit;\n(5) Any disclosure of users' personal privacy information due to hacker attacks, computer virus intrusion and other force majeure events.\n\n5. The user agrees that FireBoltt can use the user's personal privacy information in the following matters:\n(1) FireBoltt shall timely send important notices to the users, such as software updates and changes to the terms of this Agreement;\n(2) Conduct internal audit, data analysis and research to improve asisai's products, services and communication with users;\n(3) Management, review user information and take measures for user information in accordance with this Agreement;\n(4) Other matters as stipulated by the applicable laws and regulations.\n\nIn addition to the above matters, FireBoltt will not use the user's personal privacy information for any other purpose without the user's prior consent.\n\n6.In order to improve the technology and services of FireBoltt and provide users with better service experience, FireBoltt may collect, use or provide users with non-personal privacy information to third parties.\n\n4.Content specification\n1. The content mentioned in this Article refers to any content produced, uploaded, copied, published or disseminated by users in the process of using the Service, including but not limited to account avatar, name, user description and other registration information and authentication materials,。Or text, voice, pictures, videos, text, etc., to send, reply or automatically reply to messages and related link pages, as well as other content generated by using accounts or the Service.\n2. Users shall not use the ""FireBoltt"" account or the Service to produce, upload, copy, publish and disseminate the following contents prohibited by the following laws, regulations and policies:\n(1) opposing the basic principles established in the Constitution;\n(2) endangering state security, divulging state secrets, subverting state power or undermining national unity;\n(3) harming the honor and interests of the state;\n(4) inciting ethnic hatred or discrimination or destroying ethnic unity;\n(5) undermining state religious policies or promoting evil cults and feudal superstitions;\n(6) spreading rumors, disturbing social order or undermining social stability;\n(7) spreading obscenity, pornography, gambling, violence, murder, terror or abetting crimes;\n(8) insulting or defaming others, or infringing upon the legitimate rights and interests of others;\n(9) Failing to abide by the ""seven bottom lines"" requirements of the bottom line of laws and regulations, the bottom line of the socialist system, the bottom line of national interests, the bottom line of citizens' legitimate rights and interests, social and public order, moral fashion and information authenticity;\n(10) Information containing other contents prohibited by laws and administrative regulations.\n\n3. Users shall not use ""FireBoltt"" or the Service to produce, upload, copy, publish or disseminate the following contents that interfere with the normal operation of ""Easy Competition"" or infringe upon the legitimate rights and interests of other users or third parties:\n(1) containing any sexual or sexual implication;\n(2) Content containing abuse, intimidation or threats\n(3) including harassment, spam advertisements, malicious information or lure information;\n(4) Involving the privacy, personal information or data of others;\nInfringing upon the legal rights of reputation, portrait rights, intellectual property rights, business secrets;\n(6)Including other information that interferes with the normal operation of the Service and infringes on the legitimate rights and interests of other users or third parties.\n\n5. service regulations\n\n1. Any content transmitted or published by the user in or through the Service does not reflect or represent, and shall not be deemed to reflect or represent the views, positions or policies of the user, and shall not be liable for it.\n\n2. Users shall not use ""FireBoltt"" or the Service for the following behaviors:\n(1) Submitting or releasing false information, or stealing other people's profile picture or materials, posing as or using the name of others;\n(2) forcing or inducing other users to pay attention to, click on the link page or share information;\n(3) making up facts or concealing the truth to mislead or deceive others;\n(4) establishing false accounts in batches by technical means;\n(5) Engaging in any illegal or criminal activities by using ""FireBoltt"" or the Service;\n(6) Make and publish the methods and tools related to the above behaviors, or operate or disseminate such methods and tools, whether or not they are for commercial purposes;\n(7) Other violations of laws and regulations, infringe on the legitimate rights and interests of other users, and interfere with the normal operation of ""FireBoltt"".\n\n3. The user shall be fully responsible for the authenticity, legality, innocence, accuracy and validity of the information transmitted by the ""FireBoltt"" or the Service, and any legal responsibility related to the information transmitted by the user shall be borne by the user himself and shall have nothing to do with it.If any damage is caused to Yisai or a third party, the user shall make compensation according to law.\n\nVi. Account management\n1.The ownership of ""FireBoltt"" belongs to Ysai. After the user completes the application registration procedures, the use right to obtain ""FireBoltt"", This right only belongs to the initial application registrant, and the gift, borrowing, lease, transfer or sale is prohibited.FireBoltti has the right to recover the user's ""FireBoltt"" account due to business needs.\n2.Users can change or delete the personal data, registration information and transmission content on the ""FireBoltt"" account, but it should be noted that deleting the relevant information will also delete the text and pictures of the user stored in the system. The user shall bear this risk.\n3.The user is responsible for properly keeping the security of the registered account information and the account password. If the user may suffer from number theft or password theft, the responsibility shall be borne by the user himself. Users shall be legally liable for the behavior under the registered account number and password.User agrees not to use another user's account number or password under any circumstances. The user agrees to notify Issay immediately if they suspect others of using their account or password.\n4.The User shall abide by the terms of this Agreement and use the Service properly and appropriately. If the User breaches any provision of this Agreement, it shall have the right to interrupt or terminate the service to the ""FireBoltt"" account of the default user according to the Agreement.At the same time, FireBoltt reserves the right to recover the ""FireBoltt"" account and user name at any time.\n5.If the user does not log in for one year after registering the ""FireBoltt"" account, then notifying the user to recover the account, so as to avoid the waste of resources, and the adverse consequences caused by it shall be borne by the user himself.\n\nVII. Data storage\n1. FireBoltt is not responsible for the deletion or storage failure of the relevant data in the Service.\n2. FireBoltt can decide the maximum storage period of the data in the service according to the actual situation, and allocate the maximum storage space for the data on the server. Users can back up the relevant data in the service according to their own needs.\n3. If the user stops using the Service or the service stops, It can permanently delete the user's data from the server. After the service is stopped or terminated, FireBoltt has no obligation to return any data to the user.\n\nViii. Risk assumption\n1.The user understands and agrees that ""FireBoltt"" only provides a platform for the user to share, transfer and obtain information, and that the user must be responsible for all actions under his registered account, including any content transmitted by the user and any consequences arising therefrom.The user shall judge the content in the Service and bear all risks arising from the use of the content, including risks arising from reliance on the correctness, completeness or practicality of the content.It cannot and will not be liable for any loss or damage caused by the user's behavior.If the user finds that anyone violates this Agreement or uses the Service in any other improper way, please report or make a complaint to FireBoltt i immediately, which will be handled in accordance with this Agreement.\n2、The user understands and agrees that, due to the needs of business development, FireBolttreserves the right to unilaterally change, suspend, terminate or cancel all or part of the Service content of the Service, and the user shall bear this risk.\n\n9. Intellectual Property Rights Statement\n\n1. Except that the intellectual property rights related to advertisements in the Service shall be enjoyed by the corresponding advertisers, the intellectual property rights of the content provided in the Service (including but not limited to web pages, text, pictures, audio, video, charts, etc.) shall be owned by FireBoltt,Except for the users who have legally obtained the intellectual property rights of the content published by themselves before using the Service.\n\n2. Unless otherwise specially stated, the copyright, patent rights and other intellectual property rights of the software on which the service is provided shall be owned by FireBoltt.\n\n3. The copyright or trademark rights of the graphics, text or their composition involved in this Service, as well as other Easy logo and products and service names (hereinafter referred to as ""Easy Logo"") shall be owned by Easy.Without the written consent of the event, the user shall not display, use or otherwise handle the logo in any way, nor shall it indicate to others that the user has the right to display, use, or other right to handle the logo.\n\n4. The above and any other intellectual property rights legally owned by FireBoltt or the relevant advertisers are protected by law, and the users shall not use or create the relevant derivative works in any form without the written permission of FireBoltt or the relevant advertisers.\n\nX. Legal liability\n\n1. If FireBoltt finds or receives reports from others or complains about the violation of this Agreement, FireBoltt has the right to address the relevant contents at any time without notice,1. If FireBoltt finds or receives reports from others or complains about the violation of this Agreement, FireBoltt has the right to address the relevant contents at any time without notice,\n\n2. The user understands and agrees that FireBoltt has the right to punish those who violate relevant laws and regulations or this Agreement according to reasonable judgment, and to take appropriate legal actions against any user who violates laws and regulations,And according to the laws and regulations to keep the relevant information to the relevant departments to report, the user shall bear all the legal responsibilities arising therefrom.\n\n3. The User understands and agrees that any claim, claims or damages against any third party, including reasonable attorney fees, and shall hold it harmless from damage.\n\nXi.Force Majeure and other reasons of exemption\n\n1. Users understand and confirm that in the process of using the service, risk factors such as force majeure may be encountered to interrupt the service.Force majeure refers to objective events that are unforeseeable, insurmountable and unavoidable and have a significant impact on one or both parties, including but not limited to natural disasters such as floods, earthquakes, plague epidemics and storms, as well as social events such as war, unrest, and government actions.In case of the above situation, FireBoltt will try to cooperate with relevant units in the first time and repair it in time. However, for the losses caused to users or third parties, FireBoltt and its partners shall be exempted from liability within the scope permitted by law.\n\n2. Like most Internet services, this service is affected by differences in user reasons including but not limited to, network service quality, social environment and other factors, and may be disturbed by various security issues, such as others using users' information, causing harassment in real life;Other software downloaded and installed by users or other websites visited contain viruses such as ""Trojan horse"", which threaten the security of users' computer information and data, and then affect the normal use of the service and so on.Users should strengthen the awareness of information security and user data protection, and pay attention to strengthen password protection, so as to avoid loss and harassment.\n\n3. The user understands and confirms that the service has the risk of service interruption or failure to meet the user's requirements due to force majeure, computer virus or hacker attacks, system instability, user location, user shutdown, any other technology, Internet, communication lines, etc.,FireBoltt shall not be liable for any loss of users or any third party.\n\n4. The user understands and confirms that during the use of the Service, information from any other person, including misleading, deceptive, threatening, defam, offensive or illegal, anonymous or false information that infringes the rights of others, and accompanies such information,FireBoltt shall not be liable for any loss caused to the user or any third party.\n\n5. The user understands and confirms that FireBolttneeds to regularly or irregularly overhaul or maintain the ""FireBoltt"" platform or related equipment. If the service is interrupted within a reasonable time due to such circumstances, FireBolttshall not bear any responsibility for it, but FireBoltt shall notify in advance.\n\n6. It shall obtain the right to deal with the contents of violations or breach in accordance with laws and regulations and this Agreement. This right does not constitute the obligation or commitment of it, and it cannot guarantee the timely discovery of violations or breach of contract or deal with them accordingly.\n\n7. The user understands and confirms that the user shall not bear any responsibility for the quality defects of the following products or services provided to the users and any losses caused by them:\n(1) Services provided by FireBoltt to users;\n(2) Any products or services given to users.\n\n8. In no event shall FireBoltt be liable for any indirect, consequential, punitive, contingent, incidental, special or penal damage, including loss of profit due to the user's use of FireBoltt or the Service (even if FireBoltt has been informed of the possibility of such loss).Notwithstanding the contrary provisions of this Agreement, the full liability to the User, for any reason or manner, shall not exceed the fees (if any) paid by the User for the use of the services provided by the user.\n\nXii. Change, interruption and termination of the service\n\n1. In view of the particularity of network services, the user agrees that FireBoltt has the right to change, interrupt or terminate part or all of the services at any time. For change, interruption or termination, FireBolttshall notify the user before change, interruption or termination.\n\n2. In case of any of the following circumstances, FireBoltt shall have the right to change, interrupt or terminate the free or paid services provided to the User without any liability to the User or any third party:\n(1) According to the law, users should submit real information, but the personal data provided by users is not true, or inconsistent with the registration information and fails to provide reasonable proof;\n(2) The user violates the relevant laws and regulations or the provisions of this Agreement;\n(3) in accordance with the law or the requirements of the competent authority;\n(4) For safety reasons or under other necessary circumstances.\n\nThirteen, others\n\n1.It solemnly reminds users to pay attention to the provisions in this Agreement for the exemption of liability and the restriction of user rights. Please read them carefully and consider the risks independently. The minor shall read this agreement accompanied by their legal guardian.\n\n2.The validity, interpretation and dispute settlement of this Agreement shall apply to the laws of the People's Republic of China. If any dispute or dispute between the user and Yai, it shall be settled through friendly negotiation,If the negotiation fails, the user agrees to bring the dispute or dispute to the jurisdiction of the people's court in the place of the domicile.\n\n3.Any provision of this Agreement shall be invalid or unenforceable for any reason, and the remaining provisions shall remain valid and binding on both parties.\n\nBoltt Games Pvt.Ltd\nOn Aug 01th,2023"; + } else { - content = @"  Special tips\n  Boltt Games Pvt.Ltd (hereinafter referred to as ""FireBoltt"") hereby reminds you (users) to read this User Agreement (the ""Agreement"") carefully before registering as a user to ensure that you fully understand the terms of this Agreement.Your registration, login, use will be deemed an acceptance of this Agreement and agree to be bound by the terms of this Agreement.\n\nHis Agreement specifies the rights and obligations between users and the ""FireBoltt"" Software Service.""User"" means an individual who registers, logs in, and uses the Service.This Agreement may be updated at any time. The updated terms of the Agreement shall replace the original terms of the Agreement without further notice, and users may check the latest version of the terms of the Agreement on this website.After the modification of the terms of the agreement, if the user does not accept the modified terms, please immediately stop using the services provided by FireBoltt, and the user continues to use the services provided by Isai will be deemed to accept the modified agreement.\n\n1.Authorizing the collection of personal information\n1.1、Personal information refers to the information recorded in electronic or other means to identify the identity of a specific natural person or reflect the activity of a specific natural person in combination of a particular natural person.\n1.2、Personal information involved in ""FireBoltt"" includes: basic information (including personal name, birthday, last name, height, weight); address book; personal common equipment information;Personal location information (including itinerary information, accurate positioning information, longitude and latitude, etc.); personal health information (activity management, sleep analysis, physical training, heart rate, steps, walking, exercise distance, etc.).\n1.3、When using the service, FireBoltt may collect personal information that can identify the user so that FireBolttcan contact users if necessary or provide users with a better use experience.The information collected by FireBoltt includes but is not limited to the gender, age, date of birth and personal description; the use of the information shall be subject to the protection of the personal privacy information of Article 3.\n\n2.Service content\n2.1、The specific content of this service shall be provided by FireBoltt according to the actual situation, including but not limited to authorized users to make instant messaging, add friends, join groups and post messages through their accounts.FireBoltt can change the service provided, and the service content provided by it may change at any time; users will receive the notification of the service change.\n2.2、All the services provided by FireBoltt are free. If the charging service function is added in the later period, it will be notified later.\n\n3. Protection of the user's personal privacy information\n3.1、When registering an account or using the Service, users may need to fill in or submit some necessary information, such as the identity information specified in laws, regulations, rules and normative documents (hereinafter referred to as ""Laws and Regulations"").If the information submitted by the user is incomplete or does not comply with the provisions of laws and regulations, the user may not be able to use the Service or be restricted in the process of using the Service.\n3.2、Personal privacy information refers to the information involving the user's personal identity or personal privacy, such as the user's real name, ID card number, mobile phone number, mobile phone device identification number, IP address, and the user's chat record.Non-personal privacy information refers to the basic record information clearly and objectively reflected in the server side outside the scope of personal privacy information,And the above privacy information that the user agrees to disclose.\n3.3、Respecting the privacy of users 'personal privacy information is a consistent system of FireBoltt, which will take technical measures and other necessary measures to ensure the security of users' personal privacy information,Prevent the disclosure, damage or loss of users' personal privacy information collected in the Service. In the event of the aforementioned situation or Momo's discovery of the aforementioned situation, remedial measures will be taken in time.\n\n4、FireBoltt does not disclose users 'personal privacy information to any third party without the user's consent. Except for the following specific circumstances:\n(1) Provide users' personal privacy information in accordance with laws and regulations or instructions of competent authorities;\n(2) Any leakage of personal information or the disclosure of personal privacy information for other reasons not caused by the user informs others or shares the registered account and password with others;\n(3) Users shall disclose their personal privacy information to a third party by themselves;\n(4) The user reaches an agreement between the user and the cooperative unit on the disclosure of the user's personal privacy information, and the user closes the user's personal privacy information to the cooperative unit;\n(5) Any disclosure of users' personal privacy information due to hacker attacks, computer virus intrusion and other force majeure events.\n\n5. The user agrees that FireBoltt can use the user's personal privacy information in the following matters:\n(1) FireBoltt shall timely send important notices to the users, such as software updates and changes to the terms of this Agreement;\n(2) Conduct internal audit, data analysis and research to improve asisai's products, services and communication with users;\n(3) Management, review user information and take measures for user information in accordance with this Agreement;\n(4) Other matters as stipulated by the applicable laws and regulations.\n\nIn addition to the above matters, FireBoltt will not use the user's personal privacy information for any other purpose without the user's prior consent.\n\n6.In order to improve the technology and services of FireBoltt and provide users with better service experience, FireBoltt may collect, use or provide users with non-personal privacy information to third parties.\n\n4.Content specification\n1. The content mentioned in this Article refers to any content produced, uploaded, copied, published or disseminated by users in the process of using the Service, including but not limited to account avatar, name, user description and other registration information and authentication materials,。Or text, voice, pictures, videos, text, etc., to send, reply or automatically reply to messages and related link pages, as well as other content generated by using accounts or the Service.\n2. Users shall not use the ""FireBoltt"" account or the Service to produce, upload, copy, publish and disseminate the following contents prohibited by the following laws, regulations and policies:\n(1) opposing the basic principles established in the Constitution;\n(2) endangering state security, divulging state secrets, subverting state power or undermining national unity;\n(3) harming the honor and interests of the state;\n(4) inciting ethnic hatred or discrimination or destroying ethnic unity;\n(5) undermining state religious policies or promoting evil cults and feudal superstitions;\n(6) spreading rumors, disturbing social order or undermining social stability;\n(7) spreading obscenity, pornography, gambling, violence, murder, terror or abetting crimes;\n(8) insulting or defaming others, or infringing upon the legitimate rights and interests of others;\n(9) Failing to abide by the ""seven bottom lines"" requirements of the bottom line of laws and regulations, the bottom line of the socialist system, the bottom line of national interests, the bottom line of citizens' legitimate rights and interests, social and public order, moral fashion and information authenticity;\n(10) Information containing other contents prohibited by laws and administrative regulations.\n\n3. Users shall not use ""FireBoltt"" or the Service to produce, upload, copy, publish or disseminate the following contents that interfere with the normal operation of ""Easy Competition"" or infringe upon the legitimate rights and interests of other users or third parties:\n(1) containing any sexual or sexual implication;\n(2) Content containing abuse, intimidation or threats\n(3) including harassment, spam advertisements, malicious information or lure information;\n(4) Involving the privacy, personal information or data of others;\nInfringing upon the legal rights of reputation, portrait rights, intellectual property rights, business secrets;\n(6)Including other information that interferes with the normal operation of the Service and infringes on the legitimate rights and interests of other users or third parties.\n\n5. service regulations\n\n1. Any content transmitted or published by the user in or through the Service does not reflect or represent, and shall not be deemed to reflect or represent the views, positions or policies of the user, and shall not be liable for it.\n\n2. Users shall not use ""FireBoltt"" or the Service for the following behaviors:\n(1) Submitting or releasing false information, or stealing other people's profile picture or materials, posing as or using the name of others;\n(2) forcing or inducing other users to pay attention to, click on the link page or share information;\n(3) making up facts or concealing the truth to mislead or deceive others;\n(4) establishing false accounts in batches by technical means;\n(5) Engaging in any illegal or criminal activities by using ""FireBoltt"" or the Service;\n(6) Make and publish the methods and tools related to the above behaviors, or operate or disseminate such methods and tools, whether or not they are for commercial purposes;\n(7) Other violations of laws and regulations, infringe on the legitimate rights and interests of other users, and interfere with the normal operation of ""FireBoltt"".\n\n3. The user shall be fully responsible for the authenticity, legality, innocence, accuracy and validity of the information transmitted by the ""FireBoltt"" or the Service, and any legal responsibility related to the information transmitted by the user shall be borne by the user himself and shall have nothing to do with it.If any damage is caused to Yisai or a third party, the user shall make compensation according to law.\n\nVi. Account management\n1.The ownership of ""FireBoltt"" belongs to Ysai. After the user completes the application registration procedures, the use right to obtain ""FireBoltt"", This right only belongs to the initial application registrant, and the gift, borrowing, lease, transfer or sale is prohibited.FireBoltti has the right to recover the user's ""FireBoltt"" account due to business needs.\n2.Users can change or delete the personal data, registration information and transmission content on the ""FireBoltt"" account, but it should be noted that deleting the relevant information will also delete the text and pictures of the user stored in the system. The user shall bear this risk.\n3.The user is responsible for properly keeping the security of the registered account information and the account password. If the user may suffer from number theft or password theft, the responsibility shall be borne by the user himself. Users shall be legally liable for the behavior under the registered account number and password.User agrees not to use another user's account number or password under any circumstances. The user agrees to notify Issay immediately if they suspect others of using their account or password.\n4.The User shall abide by the terms of this Agreement and use the Service properly and appropriately. If the User breaches any provision of this Agreement, it shall have the right to interrupt or terminate the service to the ""FireBoltt"" account of the default user according to the Agreement.At the same time, FireBoltt reserves the right to recover the ""FireBoltt"" account and user name at any time.\n5.If the user does not log in for one year after registering the ""FireBoltt"" account, then notifying the user to recover the account, so as to avoid the waste of resources, and the adverse consequences caused by it shall be borne by the user himself.\n\nVII. Data storage\n1. FireBoltt is not responsible for the deletion or storage failure of the relevant data in the Service.\n2. FireBoltt can decide the maximum storage period of the data in the service according to the actual situation, and allocate the maximum storage space for the data on the server. Users can back up the relevant data in the service according to their own needs.\n3. If the user stops using the Service or the service stops, It can permanently delete the user's data from the server. After the service is stopped or terminated, FireBoltt has no obligation to return any data to the user.\n\nViii. Risk assumption\n1.The user understands and agrees that ""FireBoltt"" only provides a platform for the user to share, transfer and obtain information, and that the user must be responsible for all actions under his registered account, including any content transmitted by the user and any consequences arising therefrom.The user shall judge the content in the Service and bear all risks arising from the use of the content, including risks arising from reliance on the correctness, completeness or practicality of the content.It cannot and will not be liable for any loss or damage caused by the user's behavior.If the user finds that anyone violates this Agreement or uses the Service in any other improper way, please report or make a complaint to FireBoltt i immediately, which will be handled in accordance with this Agreement.\n2、The user understands and agrees that, due to the needs of business development, FireBolttreserves the right to unilaterally change, suspend, terminate or cancel all or part of the Service content of the Service, and the user shall bear this risk.\n\n9. Intellectual Property Rights Statement\n\n1. Except that the intellectual property rights related to advertisements in the Service shall be enjoyed by the corresponding advertisers, the intellectual property rights of the content provided in the Service (including but not limited to web pages, text, pictures, audio, video, charts, etc.) shall be owned by FireBoltt,Except for the users who have legally obtained the intellectual property rights of the content published by themselves before using the Service.\n\n2. Unless otherwise specially stated, the copyright, patent rights and other intellectual property rights of the software on which the service is provided shall be owned by FireBoltt.\n\n3. The copyright or trademark rights of the graphics, text or their composition involved in this Service, as well as other Easy logo and products and service names (hereinafter referred to as ""Easy Logo"") shall be owned by Easy.Without the written consent of the event, the user shall not display, use or otherwise handle the logo in any way, nor shall it indicate to others that the user has the right to display, use, or other right to handle the logo.\n\n4. The above and any other intellectual property rights legally owned by FireBoltt or the relevant advertisers are protected by law, and the users shall not use or create the relevant derivative works in any form without the written permission of FireBoltt or the relevant advertisers.\n\nX. Legal liability\n\n1. If FireBoltt finds or receives reports from others or complains about the violation of this Agreement, FireBoltt has the right to address the relevant contents at any time without notice,1. If FireBoltt finds or receives reports from others or complains about the violation of this Agreement, FireBoltt has the right to address the relevant contents at any time without notice,\n\n2. The user understands and agrees that FireBoltt has the right to punish those who violate relevant laws and regulations or this Agreement according to reasonable judgment, and to take appropriate legal actions against any user who violates laws and regulations,And according to the laws and regulations to keep the relevant information to the relevant departments to report, the user shall bear all the legal responsibilities arising therefrom.\n\n3. The User understands and agrees that any claim, claims or damages against any third party, including reasonable attorney fees, and shall hold it harmless from damage.\n\nXi.Force Majeure and other reasons of exemption\n\n1. Users understand and confirm that in the process of using the service, risk factors such as force majeure may be encountered to interrupt the service.Force majeure refers to objective events that are unforeseeable, insurmountable and unavoidable and have a significant impact on one or both parties, including but not limited to natural disasters such as floods, earthquakes, plague epidemics and storms, as well as social events such as war, unrest, and government actions.In case of the above situation, FireBoltt will try to cooperate with relevant units in the first time and repair it in time. However, for the losses caused to users or third parties, FireBoltt and its partners shall be exempted from liability within the scope permitted by law.\n\n2. Like most Internet services, this service is affected by differences in user reasons including but not limited to, network service quality, social environment and other factors, and may be disturbed by various security issues, such as others using users' information, causing harassment in real life;Other software downloaded and installed by users or other websites visited contain viruses such as ""Trojan horse"", which threaten the security of users' computer information and data, and then affect the normal use of the service and so on.Users should strengthen the awareness of information security and user data protection, and pay attention to strengthen password protection, so as to avoid loss and harassment.\n\n3. The user understands and confirms that the service has the risk of service interruption or failure to meet the user's requirements due to force majeure, computer virus or hacker attacks, system instability, user location, user shutdown, any other technology, Internet, communication lines, etc.,FireBoltt shall not be liable for any loss of users or any third party.\n\n4. The user understands and confirms that during the use of the Service, information from any other person, including misleading, deceptive, threatening, defam, offensive or illegal, anonymous or false information that infringes the rights of others, and accompanies such information,FireBoltt shall not be liable for any loss caused to the user or any third party.\n\n5. The user understands and confirms that FireBolttneeds to regularly or irregularly overhaul or maintain the ""FireBoltt"" platform or related equipment. If the service is interrupted within a reasonable time due to such circumstances, FireBolttshall not bear any responsibility for it, but FireBoltt shall notify in advance.\n\n6. It shall obtain the right to deal with the contents of violations or breach in accordance with laws and regulations and this Agreement. This right does not constitute the obligation or commitment of it, and it cannot guarantee the timely discovery of violations or breach of contract or deal with them accordingly.\n\n7. The user understands and confirms that the user shall not bear any responsibility for the quality defects of the following products or services provided to the users and any losses caused by them:\n(1) Services provided by FireBoltt to users;\n(2) Any products or services given to users.\n\n8. In no event shall FireBoltt be liable for any indirect, consequential, punitive, contingent, incidental, special or penal damage, including loss of profit due to the user's use of FireBoltt or the Service (even if FireBoltt has been informed of the possibility of such loss).Notwithstanding the contrary provisions of this Agreement, the full liability to the User, for any reason or manner, shall not exceed the fees (if any) paid by the User for the use of the services provided by the user.\n\nXii. Change, interruption and termination of the service\n\n1. In view of the particularity of network services, the user agrees that FireBoltt has the right to change, interrupt or terminate part or all of the services at any time. For change, interruption or termination, FireBolttshall notify the user before change, interruption or termination.\n\n2. In case of any of the following circumstances, FireBoltt shall have the right to change, interrupt or terminate the free or paid services provided to the User without any liability to the User or any third party:\n(1) According to the law, users should submit real information, but the personal data provided by users is not true, or inconsistent with the registration information and fails to provide reasonable proof;\n(2) The user violates the relevant laws and regulations or the provisions of this Agreement;\n(3) in accordance with the law or the requirements of the competent authority;\n(4) For safety reasons or under other necessary circumstances.\n\nThirteen, others\n\n1.It solemnly reminds users to pay attention to the provisions in this Agreement for the exemption of liability and the restriction of user rights. Please read them carefully and consider the risks independently. The minor shall read this agreement accompanied by their legal guardian.\n\n2.The validity, interpretation and dispute settlement of this Agreement shall apply to the laws of the People's Republic of China. If any dispute or dispute between the user and Yai, it shall be settled through friendly negotiation,If the negotiation fails, the user agrees to bring the dispute or dispute to the jurisdiction of the people's court in the place of the domicile.\n\n3.Any provision of this Agreement shall be invalid or unenforceable for any reason, and the remaining provisions shall remain valid and binding on both parties.\n\nBoltt Games Pvt.Ltd\n\nOn Aug 01th,2023"; + /// 免责声明 + content = @"  FireBoltt Disclaimer\n\n  FireBoltt APP supports heart rate, body temperature, blood pressure, blood oxygen data display, test data and results are for display reference only, not for diagnostic and medical purposes. If you need medical attention, please seek medical advice before making any medical decisions.\n\nI hereby declare!\n\nBoltt Games Pvt.Ltd\nOn Aug 01th,2023"; } return content; } diff --git a/FireBoltt/FB_Modules/FB_My/ViewModel/MineViewModel.swift b/FireBoltt/FB_Modules/FB_My/ViewModel/MineViewModel.swift index e56756a..0eb4d3f 100644 --- a/FireBoltt/FB_Modules/FB_My/ViewModel/MineViewModel.swift +++ b/FireBoltt/FB_Modules/FB_My/ViewModel/MineViewModel.swift @@ -32,7 +32,7 @@ class MineViewModel: ViewModel { func loadMeList() { // 我的列表 - var meList: [[MineSetType]] = [[], [.about,.privacy,.service]] + var meList: [[MineSetType]] = [[], [.about,.privacy,.service,.disclaimerFB]] // 功能适配 if let adapterInfo = UserDefaultsManagerFrieBoltt.getDeviceInfo()?.adapterInfo { if adapterInfo.unitSet { meList[0].append(.unitSet) } @@ -78,6 +78,7 @@ enum MineSetType: String { case about = "关于" case privacy = "隐私政策" case service = "用户协议" + case disclaimerFB = "免责声明" var title: String { switch self { @@ -86,6 +87,7 @@ enum MineSetType: String { case .about: return MultiLanguageKey_FB.aboutFB.localized case .privacy: return MultiLanguageKey_FB.privacyFB.localized case .service: return MultiLanguageKey_FB.serviceFB.localized + case .disclaimerFB: return MultiLanguageKey_FB.disclaimerFB.localized } } } diff --git a/FireBoltt/FireBoltt.entitlements b/FireBoltt/FireBoltt.entitlements new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/FireBoltt/FireBoltt.entitlements @@ -0,0 +1,5 @@ + + + + + diff --git a/FireBoltt/Resource/Info.plist b/FireBoltt/Resource/Info.plist index 102770c..fe451d2 100644 --- a/FireBoltt/Resource/Info.plist +++ b/FireBoltt/Resource/Info.plist @@ -47,6 +47,7 @@ 开启后,FireBoltt才能获取相册的照片 UIBackgroundModes + audio bluetooth-central bluetooth-peripheral diff --git a/FireBoltt/Resource/en.lproj/Localizable.strings b/FireBoltt/Resource/en.lproj/Localizable.strings index f0d9824..2a2f3ed 100644 --- a/FireBoltt/Resource/en.lproj/Localizable.strings +++ b/FireBoltt/Resource/en.lproj/Localizable.strings @@ -254,4 +254,6 @@ "隐私政策" = "Privacy policy"; "用户协议" = "User protocol"; "清醒时长" = "awakeDuration"; +"寻找手机指令" = "Find phone command"; +"免责声明" = "disclaimer"; diff --git a/FireBoltt/Resource/nl.lproj/Localizable.strings b/FireBoltt/Resource/nl.lproj/Localizable.strings index 9722e64..bca3917 100644 --- a/FireBoltt/Resource/nl.lproj/Localizable.strings +++ b/FireBoltt/Resource/nl.lproj/Localizable.strings @@ -245,3 +245,4 @@ //"支付宝" = "bedrag"; "隐私政策" = "privacybeleid"; "用户协议" = "gebruikersovereenkomst"; +"寻找手机指令" = "Instructies voor mobiele telefoons zoeken"; diff --git a/FireBoltt/Resource/ru.lproj/Localizable.strings b/FireBoltt/Resource/ru.lproj/Localizable.strings index d75646a..335bf35 100644 --- a/FireBoltt/Resource/ru.lproj/Localizable.strings +++ b/FireBoltt/Resource/ru.lproj/Localizable.strings @@ -225,3 +225,4 @@ //"支付宝" = "Плати"; "隐私政策" = "Политика конфиденциальности"; "用户协议" = "Протокол пользователя"; +"寻找手机指令" = "Поиск телефона."; diff --git a/FireBoltt/Resource/zh-Hans.lproj/Localizable.strings b/FireBoltt/Resource/zh-Hans.lproj/Localizable.strings index e8149fc..b8f4bfe 100644 --- a/FireBoltt/Resource/zh-Hans.lproj/Localizable.strings +++ b/FireBoltt/Resource/zh-Hans.lproj/Localizable.strings @@ -255,3 +255,4 @@ "隐私政策" = "隐私政策"; "用户协议" = "用户协议"; "清醒时长" = "清醒时长"; +"寻找手机指令" = "寻找手机指令"; diff --git a/R.generated.swift b/R.generated.swift index 013dc49..af3703e 100644 --- a/R.generated.swift +++ b/R.generated.swift @@ -2002,7 +2002,7 @@ struct R: Rswift.Validatable { fileprivate init() {} } - /// This `R.string.localizable` struct is generated, and contains static references to 244 localization keys. + /// This `R.string.localizable` struct is generated, and contains static references to 246 localization keys. struct localizable { /// en translation: Synchronizing Succeed /// @@ -2232,6 +2232,10 @@ struct R: Rswift.Validatable { /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant static let 找设备 = Rswift.StringResource(key: "找设备", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en", "zh-Hans", "nl", "ru", "fr", "de", "pt-PT", "es", "tr", "pl", "ar", "ms", "th", "ja", "ko", "zh-HK", "zh-Hant"], comment: nil) + /// en translation: Find phone command + /// + /// Locales: en, zh-Hans, nl, ru, zh-HK, zh-Hant + static let 寻找手机指令 = Rswift.StringResource(key: "寻找手机指令", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en", "zh-Hans", "nl", "ru", "zh-HK", "zh-Hant"], comment: nil) /// en translation: Firmware Upgrade /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant @@ -2844,6 +2848,10 @@ struct R: Rswift.Validatable { /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant static let 日 = Rswift.StringResource(key: "日", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en", "zh-Hans", "nl", "ru", "fr", "de", "pt-PT", "es", "tr", "pl", "ar", "ms", "th", "ja", "ko", "zh-HK", "zh-Hant"], comment: nil) + /// en translation: disclaimer + /// + /// Locales: en + static let 免责声明 = Rswift.StringResource(key: "免责声明", tableName: "Localizable", bundle: R.hostingBundle, locales: ["en"], comment: nil) /// en translation: distance /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant @@ -3836,6 +3844,21 @@ struct R: Rswift.Validatable { return NSLocalizedString("找设备", bundle: bundle, comment: "") } + /// en translation: Find phone command + /// + /// Locales: en, zh-Hans, nl, ru, zh-HK, zh-Hant + static func 寻找手机指令(preferredLanguages: [String]? = nil) -> String { + guard let preferredLanguages = preferredLanguages else { + return NSLocalizedString("寻找手机指令", bundle: hostingBundle, comment: "") + } + + guard let (_, bundle) = localeBundle(tableName: "Localizable", preferredLanguages: preferredLanguages) else { + return "寻找手机指令" + } + + return NSLocalizedString("寻找手机指令", bundle: bundle, comment: "") + } + /// en translation: Firmware Upgrade /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant @@ -6131,6 +6154,21 @@ struct R: Rswift.Validatable { return NSLocalizedString("日", bundle: bundle, comment: "") } + /// en translation: disclaimer + /// + /// Locales: en + static func 免责声明(preferredLanguages: [String]? = nil) -> String { + guard let preferredLanguages = preferredLanguages else { + return NSLocalizedString("免责声明", bundle: hostingBundle, comment: "") + } + + guard let (_, bundle) = localeBundle(tableName: "Localizable", preferredLanguages: preferredLanguages) else { + return "免责声明" + } + + return NSLocalizedString("免责声明", bundle: bundle, comment: "") + } + /// en translation: distance /// /// Locales: en, zh-Hans, nl, ru, fr, de, pt-PT, es, tr, pl, ar, ms, th, ja, ko, zh-HK, zh-Hant