alqindiirsyam před 2 roky
rodič
revize
f55f9e1c12

+ 1 - 1
appbuilder-ios/AppBuilder/AppBuilder/ViewController.swift

@@ -671,7 +671,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
     func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
         let js = "(function() { document.body.style.background='transparent'; })();"
         privacyWV.evaluateJavaScript(js) { (_, error) in
-            print(error)
+            print(error as Any)
         }
     }
     

+ 30 - 30
appbuilder-ios/NexilisLite/NexilisLite/Source/APIS.swift

@@ -223,20 +223,20 @@ public class APIS: NSObject {
         }
     }
     
-    public static func openSeminar() {
-        let isChangeProfile = Utils.getSetProfile()
-        if !isChangeProfile {
-            APIS.showChangeProfile()
-            return
-        }
-        let navigationController = UINavigationController(rootViewController: CreateSeminarViewController())
-        navigationController.defaultStyle()
-        if UIApplication.shared.visibleViewController?.navigationController != nil {
-            UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
-        } else {
-            UIApplication.shared.visibleViewController?.present(navigationController, animated: true, completion: nil)
-        }
-    }
+//    public static func openSeminar() {
+//        let isChangeProfile = Utils.getSetProfile()
+//        if !isChangeProfile {
+//            APIS.showChangeProfile()
+//            return
+//        }
+//        let navigationController = UINavigationController(rootViewController: CreateSeminarViewController())
+//        navigationController.defaultStyle()
+//        if UIApplication.shared.visibleViewController?.navigationController != nil {
+//            UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
+//        } else {
+//            UIApplication.shared.visibleViewController?.present(navigationController, animated: true, completion: nil)
+//        }
+//    }
     
     public static func openAudioCall() {
         let isChangeProfile = Utils.getSetProfile()
@@ -522,22 +522,22 @@ public class APIS: NSObject {
         }
     }
     
-    public static func openScreenSharing() {
-        let isChangeProfile = Utils.getSetProfile()
-        if !isChangeProfile {
-            APIS.showChangeProfile()
-            return
-        }
-        let callContact = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "contactSID") as! ContactCallViewController
-        callContact.startSS = true
-        let navigationController = UINavigationController(rootViewController: callContact)
-        navigationController.defaultStyle()
-        if UIApplication.shared.visibleViewController?.navigationController != nil {
-            UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
-        } else {
-            UIApplication.shared.visibleViewController?.present(navigationController, animated: true, completion: nil)
-        }
-    }
+//    public static func openScreenSharing() {
+//        let isChangeProfile = Utils.getSetProfile()
+//        if !isChangeProfile {
+//            APIS.showChangeProfile()
+//            return
+//        }
+//        let callContact = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "contactSID") as! ContactCallViewController
+//        callContact.startSS = true
+//        let navigationController = UINavigationController(rootViewController: callContact)
+//        navigationController.defaultStyle()
+//        if UIApplication.shared.visibleViewController?.navigationController != nil {
+//            UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
+//        } else {
+//            UIApplication.shared.visibleViewController?.present(navigationController, animated: true, completion: nil)
+//        }
+//    }
     
     public static func startScreenSharing(name: String) {
         if name.isEmpty {

+ 1 - 1
appbuilder-ios/NexilisLite/NexilisLite/Source/IncomingThread.swift

@@ -1170,7 +1170,7 @@ class IncomingThread {
     private func pushMyself(message: TMessage) -> Void {
         Database.shared.database?.inTransaction({ (fmdb, rollback) in
             do {
-                let result = try Database.shared.insertRecord(fmdb: fmdb, table: "BUDDY", cvalues: [
+                _ = try Database.shared.insertRecord(fmdb: fmdb, table: "BUDDY", cvalues: [
                     "f_pin" : message.getBody(key: CoreMessage_TMessageKey.F_PIN),
                     "upline_pin" : message.getBody(key: CoreMessage_TMessageKey.UPLINE_PIN),
                     "first_name" : message.getBody(key: CoreMessage_TMessageKey.FIRST_NAME),

+ 5 - 5
src/mainIOS.py

@@ -11,11 +11,11 @@ from zipfile import ZipFile
 ImageFile.SAFEBLOCK = 2048 * 2048
 
 app = Flask(__name__)
-app.base_project = "/Users/akhmadalqindiirsyam/Documents/Work Folder/AppBuilder/appbuilder-ios/AppBuilder"
-app.nexilis_lite = "/Users/akhmadalqindiirsyam/Documents/Work Folder/AppBuilder/appbuilder-ios/NexilisLite"
-app.temp_folder = "/Users/akhmadalqindiirsyam/Documents/Work Folder/BuildIos"
-app.app_folder = "/Users/akhmadalqindiirsyam/Documents/Work Folder"
-app.asset_folder = "/Users/akhmadalqindiirsyam/Documents/Work Folder/BuildIosAssets"
+app.base_project = "/Users/akhmadalqindiirsyam/Documents/WorkFolder/AppBuilder/appbuilder-ios/AppBuilder"
+app.nexilis_lite = "/Users/akhmadalqindiirsyam/Documents/WorkFolder/AppBuilder/appbuilder-ios/NexilisLite"
+app.temp_folder = "/Users/akhmadalqindiirsyam/Documents/WorkFolder/BuildIos"
+app.app_folder = "/Users/akhmadalqindiirsyam/Documents/WorkFolder"
+app.asset_folder = "/Users/akhmadalqindiirsyam/Documents/WorkFolder/BuildIosAssets"
 app.verbose = True
 app.ssl = None
 app.keytool = '/usr/bin/keytool'