Browse Source

point to prod

main
Akhilesh 7 months ago
parent
commit
18d05a788c
13 changed files with 11 additions and 35 deletions
  1. +7
    -5
      src/Nivesh.xcodeproj/project.pbxproj
  2. +0
    -23
      src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/Contents.json
  3. BIN
      src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo.png
  4. BIN
      src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@2x.png
  5. BIN
      src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@3x.png
  6. +1
    -1
      src/Nivesh/Info.plist
  7. +2
    -2
      src/Nivesh/Settings.swift
  8. +1
    -4
      src/Nivesh/WebView.swift
  9. BIN
      src/launch-128.png
  10. BIN
      src/launch-192.png
  11. BIN
      src/launch-256.png
  12. BIN
      src/launch-512.png
  13. BIN
      src/launch-64.png

+ 7
- 5
src/Nivesh.xcodeproj/project.pbxproj View File

@ -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";


+ 0
- 23
src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/Contents.json View File

@ -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
}
}

BIN
src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo.png View File

Before After
Width: 170  |  Height: 360  |  Size: 12 KiB

BIN
src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@2x.png View File

Before After
Width: 341  |  Height: 720  |  Size: 29 KiB

BIN
src/Nivesh/Assets.xcassets/splash-screen-logo.imageset/splash-screen-logo@3x.png View File

Before After
Width: 512  |  Height: 1080  |  Size: 28 KiB

+ 1
- 1
src/Nivesh/Info.plist View File

@ -106,7 +106,7 @@
<true/>
<key>WKAppBoundDomains</key>
<array>
<string>sandbox.nivesh.com</string>
<string>app.nivesh.com</string>
</array>
<key>branch_key</key>
<dict>


+ 2
- 2
src/Nivesh/Settings.swift View File

@ -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


+ 1
- 4
src/Nivesh/WebView.swift View File

@ -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: []),


BIN
src/launch-128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 12 KiB

BIN
src/launch-192.png View File

Before After
Width: 196  |  Height: 196  |  Size: 20 KiB

BIN
src/launch-256.png View File

Before After
Width: 256  |  Height: 256  |  Size: 27 KiB

BIN
src/launch-512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 63 KiB

BIN
src/launch-64.png View File

Before After
Width: 64  |  Height: 64  |  Size: 5.1 KiB

Loading…
Cancel
Save

Powered by TurnKey Linux.