Browse Source

remove keyword newuniverse.io

alqindiirsyam 1 year ago
parent
commit
e7c622fba3

+ 2 - 2
appbuilder-ios/AppBuilder/AppBuilder/PrefsUtil.swift

@@ -46,7 +46,7 @@ class PrefsUtil {
         return UserDefaults.standard.string(forKey: "app_builder_url_third_tab")
     }
     static func getURLBase() -> String {
-        return UserDefaults.standard.string(forKey: "app_builder_url_base") ?? "https://newuniverse.io/"
+        return UserDefaults.standard.string(forKey: "app_builder_url_base") ?? "https://nexilis.io/"
     }
     static func getURLQMS() -> String? {
         return UserDefaults.standard.string(forKey: "app_builder_url_qms")
@@ -68,7 +68,7 @@ class PrefsUtil {
     }
     
     static func getURLPrivacyPolicy() -> String {
-        return UserDefaults.standard.string(forKey: "app_builder_url_privacy_policy") ?? "https://newuniverse.io/privacypolicy"
+        return UserDefaults.standard.string(forKey: "app_builder_url_privacy_policy") ?? "https://nexilis.io/privacypolicy"
     }
     
     static func getEnablePrivacyPolicy() -> Bool {

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

@@ -758,9 +758,9 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
         if let viewTerm = termVC!.view {
             let webView = WKWebView()
             let lang = UserDefaults.standard.string(forKey: "i18n_language")
-            var urlTerm = "https://newuniverse.io/newuniverse-tos"
+            var urlTerm = "https://nexilis.io/newuniverse-tos"
             if lang == "id" {
-                urlTerm = "https://newuniverse.io/newuniverse-tos-id"
+                urlTerm = "https://nexilis.io/newuniverse-tos-id"
             }
             let url = URL (string: urlTerm)
             let requestObj = URLRequest(url: url!)
@@ -1087,7 +1087,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
                                             if count == 0 {
                                                 if !icon.isEmpty {
                                                     DispatchQueue.global().async {
-                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
+                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
                                                             guard let data = data, error == nil else { return }
                                                             // always update the UI from the main thread
                                                             DispatchQueue.main.async() {
@@ -1101,7 +1101,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
                                             } else if count == 1 {
                                                 if !icon.isEmpty {
                                                     DispatchQueue.global().async {
-                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
+                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
                                                             guard let data = data, error == nil else { return }
                                                             // always update the UI from the main thread
                                                             DispatchQueue.main.async() {
@@ -1115,7 +1115,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
                                             } else if count == 2 {
                                                 if !icon.isEmpty {
                                                     DispatchQueue.global().async {
-                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
+                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
                                                             guard let data = data, error == nil else { return }
                                                             // always update the UI from the main thread
                                                             DispatchQueue.main.async() {
@@ -1129,7 +1129,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
                                             } else if count == 3 {
                                                 if !icon.isEmpty {
                                                     DispatchQueue.global().async {
-                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
+                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
                                                             guard let data = data, error == nil else { return }
                                                             // always update the UI from the main thread
                                                             DispatchQueue.main.async() {
@@ -1143,7 +1143,7 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
                                             } else if count == 4 {
                                                 if !icon.isEmpty {
                                                     DispatchQueue.global().async {
-                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
+                                                        ViewController.getDataImageFromUrl(from: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) { data, response, error in
                                                             guard let data = data, error == nil else { return }
                                                             // always update the UI from the main thread
                                                             DispatchQueue.main.async() {

+ 2 - 2
appbuilder-ios/DigiXLite/DigiXLite.podspec

@@ -14,11 +14,11 @@ Pod::Spec.new do |spec|
   DigiXLite Framework, embed Contact Center, Live Streaming, Push Notifications, Instant Messaging, Video and VoIP Calling features into your mobile apps within minutes...
                    DESC
 
-  spec.homepage     = "https://newuniverse.io/"
+  spec.homepage     = "https://nexilis.io/"
   spec.license      = "MIT"
   spec.author       = { "Yayan D Wicaksono" => "ya2n.wicaksono@gmail.com" }
   spec.ios.deployment_target = "14.0"
-#  spec.source       = { :http => 'https://newuniverse.io/UCPaaSiOS/releases/download/DigiXLite/v2.2.2/DigiXLite.zip' }
+#  spec.source       = { :http => 'https://nexilis.io/UCPaaSiOS/releases/download/DigiXLite/v2.2.2/DigiXLite.zip' }
   spec.source       = { :path => '.' }
   spec.source_files = 'DigiXLite/Source/**/*'
   spec.resource_bundles = { 'DigiXLite' => ['DigiXLite/Resource/**/*']}

BIN
appbuilder-ios/DigiXLite/DigiXLite.xcworkspace/xcuserdata/akhmadalqindiirsyam.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 2
appbuilder-ios/DigiXLite/DigiXLite/Source/DigiX.swift

@@ -534,7 +534,7 @@ public class DigiX: NSObject {
     
     static func getAddress(apiKey: String) -> [String] {
         var result = [String]()
-        let url = URL(string: "https://newuniverse.io/dipp/NuN1v3rs3/Qm3r4i0/get_ip?account=\(apiKey)")!
+        let url = URL(string: "https://nexilis.io/dipp/NuN1v3rs3/Qm3r4i0/get_ip?account=\(apiKey)")!
         let urlConfig = URLSessionConfiguration.default
         urlConfig.requestCachePolicy = .returnCacheDataElseLoad
         urlConfig.timeoutIntervalForRequest = 10.0
@@ -2149,7 +2149,7 @@ extension DigiX: MessageDelegate {
                         }
                     } else if fileType == BroadcastViewController.FILE_TYPE_VIDEO {
                         //https://qmera.io/filepalio/image/
-                        let player = AVPlayer(url: URL(string: "https://newuniverse.io/get_file?account=\(DigiX.sAPIKey)&image=\(video)")!)
+                        let player = AVPlayer(url: URL(string: "https://nexilis.io/get_file?account=\(DigiX.sAPIKey)&image=\(video)")!)
                         let playerVC = AVPlayerViewController()
                         playerVC.player = player
                         playerVC.modalPresentationStyle = .custom

+ 1 - 1
appbuilder-ios/DigiXLite/DigiXLite/Source/FloatingButton/FloatingButton.swift

@@ -369,7 +369,7 @@ public class FloatingButton: UIView {
                                         }
                                         if !icon.isEmpty {
                                             DispatchQueue.global().async {
-                                                let data = try? Data(contentsOf: URL(string: "https://newuniverse.io/get_file?account=\(DigiX.sAPIKey)&image=\(icon)")!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
+                                                let data = try? Data(contentsOf: URL(string: "https://nexilis.io/get_file?account=\(DigiX.sAPIKey)&image=\(icon)")!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
                                                 DispatchQueue.main.async {
                                                     if data != nil {
                                                         newButton.setImage(UIImage(data: data!), for: .normal)

+ 2 - 2
appbuilder-ios/NexilisLite/NexilisLite.podspec

@@ -14,11 +14,11 @@ Pod::Spec.new do |spec|
   NexilisLite Framework, embed Contact Center, Live Streaming, Push Notifications, Instant Messaging, Video and VoIP Calling features into your mobile apps within minutes...
                    DESC
 
-  spec.homepage     = "https://newuniverse.io/"
+  spec.homepage     = "https://nexilis.io/"
   spec.license      = "MIT"
   spec.author       = { "Yayan D Wicaksono" => "ya2n.wicaksono@gmail.com" }
   spec.ios.deployment_target = "14.0"
-#  spec.source       = { :http => 'https://newuniverse.io/UCPaaSiOS/releases/download/NexilisLite/v2.2.2/NexilisLite.zip' }
+#  spec.source       = { :http => 'https://nexilis.io/UCPaaSiOS/releases/download/NexilisLite/v2.2.2/NexilisLite.zip' }
   spec.source       = { :path => '.' }
   spec.source_files = 'NexilisLite/Source/**/*'
   spec.resource_bundles = { 'NexilisLite' => ['NexilisLite/Resource/**/*']}

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

@@ -375,7 +375,7 @@ public class FloatingButton: UIView {
                                         }
                                         if !icon.isEmpty {
                                             DispatchQueue.global().async {
-                                                let data = try? Data(contentsOf: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
+                                                let data = try? Data(contentsOf: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(icon)")!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
                                                 DispatchQueue.main.async {
                                                     if data != nil {
                                                         newButton.setImage(UIImage(data: data!), for: .normal)

+ 2 - 2
appbuilder-ios/NexilisLite/NexilisLite/Source/Nexilis.swift

@@ -535,7 +535,7 @@ public class Nexilis: NSObject {
     
     static func getAddress(apiKey: String) -> [String] {
         var result = [String]()
-        let url = URL(string: "https://newuniverse.io/dipp/NuN1v3rs3/Qm3r4i0/get_ip?account=\(apiKey)")!
+        let url = URL(string: "https://nexilis.io/dipp/NuN1v3rs3/Qm3r4i0/get_ip?account=\(apiKey)")!
         let urlConfig = URLSessionConfiguration.default
         urlConfig.requestCachePolicy = .returnCacheDataElseLoad
         urlConfig.timeoutIntervalForRequest = 10.0
@@ -2150,7 +2150,7 @@ extension Nexilis: MessageDelegate {
                         }
                     } else if fileType == BroadcastViewController.FILE_TYPE_VIDEO {
                         //https://qmera.io/filepalio/image/
-                        let player = AVPlayer(url: URL(string: "https://newuniverse.io/get_file?account=\(Nexilis.sAPIKey)&image=\(video)")!)
+                        let player = AVPlayer(url: URL(string: "https://nexilis.io/get_file?account=\(Nexilis.sAPIKey)&image=\(video)")!)
                         let playerVC = AVPlayerViewController()
                         playerVC.player = player
                         playerVC.modalPresentationStyle = .custom