diff --git a/src/Nivesh.xcodeproj/project.pbxproj b/src/Nivesh.xcodeproj/project.pbxproj index 707b2a3..291fcb5 100644 --- a/src/Nivesh.xcodeproj/project.pbxproj +++ b/src/Nivesh.xcodeproj/project.pbxproj @@ -266,7 +266,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; @@ -362,15 +362,16 @@ CODE_SIGN_ENTITLEMENTS = Nivesh/Entitlements/Entitlements.plist; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = 892H6H36S9; INFOPLIST_FILE = Nivesh/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = com.nivesh.app; PRODUCT_NAME = Nivesh; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -392,15 +393,16 @@ CODE_SIGN_ENTITLEMENTS = Nivesh/NiveshRelease.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = 892H6H36S9; INFOPLIST_FILE = Nivesh/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = com.nivesh.app; PRODUCT_NAME = Nivesh; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/Contents.json b/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/Contents.json deleted file mode 100644 index eea3c2c..0000000 --- a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "splash-screen-logo.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "splash-screen-logo@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "splash-screen-logo@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo.png b/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo.png deleted file mode 100644 index 3542ef1..0000000 Binary files a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo.png and /dev/null differ diff --git a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@2x.png b/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@2x.png deleted file mode 100644 index a6243a6..0000000 Binary files a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@2x.png and /dev/null differ diff --git a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@3x.png b/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@3x.png deleted file mode 100644 index 835bd7a..0000000 Binary files a/src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@3x.png and /dev/null differ diff --git a/src/Nivesh/Info.plist b/src/Nivesh/Info.plist index e7717d7..df74e71 100644 --- a/src/Nivesh/Info.plist +++ b/src/Nivesh/Info.plist @@ -106,7 +106,7 @@ WKAppBoundDomains - sandbox.nivesh.com + app.nivesh.com branch_key diff --git a/src/Nivesh/Settings.swift b/src/Nivesh/Settings.swift index b814c2d..0932e03 100644 --- a/src/Nivesh/Settings.swift +++ b/src/Nivesh/Settings.swift @@ -8,11 +8,11 @@ struct Cookie { let gcmMessageIDKey = "00000000000" // update this with actual ID if using Firebase // URL for first launch -let rootUrl = URL(string: "https://sandbox.nivesh.com")! +let rootUrl = URL(string: "https://app.nivesh.com")! // allowed origin is for what we are sticking to pwa domain // This should also appear in Info.plist -let allowedOrigins: [String] = ["sandbox.nivesh.com"] +let allowedOrigins: [String] = ["app.nivesh.com"] // auth origins will open in modal and show toolbar for back into the main origin. // These should also appear in Info.plist diff --git a/src/Nivesh/WebView.swift b/src/Nivesh/WebView.swift index d2fceb9..ad22578 100644 --- a/src/Nivesh/WebView.swift +++ b/src/Nivesh/WebView.swift @@ -1,5 +1,5 @@ import UIKit -import WebKit +@preconcurrency import WebKit import AuthenticationServices import SafariServices import FirebaseMessaging @@ -56,9 +56,6 @@ func createWebView(container: UIView, WKSMH: WKScriptMessageHandler, WKND: WKNav "FCMtoken" : FCMToken! ] - print("test", localStorageData) - - if JSONSerialization.isValidJSONObject(localStorageData), let data = try? JSONSerialization.data(withJSONObject: localStorageData, options: []), diff --git a/src/launch-128.png b/src/launch-128.png deleted file mode 100644 index 6e22358..0000000 Binary files a/src/launch-128.png and /dev/null differ diff --git a/src/launch-192.png b/src/launch-192.png deleted file mode 100644 index 7f773d7..0000000 Binary files a/src/launch-192.png and /dev/null differ diff --git a/src/launch-256.png b/src/launch-256.png deleted file mode 100644 index d556a0f..0000000 Binary files a/src/launch-256.png and /dev/null differ diff --git a/src/launch-512.png b/src/launch-512.png deleted file mode 100644 index 01cc14b..0000000 Binary files a/src/launch-512.png and /dev/null differ diff --git a/src/launch-64.png b/src/launch-64.png deleted file mode 100644 index 56567ca..0000000 Binary files a/src/launch-64.png and /dev/null differ