Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
bddc0f56
Commit
bddc0f56
authored
3 years ago
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch service
parent
4a65c72f
switch_rsa
…
build_01_July
build_02_July
build_06_07
build_11_June
build_14_June
build_15_july
build_30_June
build_release_1806
build_server_new
dev_01_July
dev_05_July
dev_09_June
dev_10_June
dev_11_June
dev_14_July
dev_18_June
dev_phase2
ekyc
enter_smart_otp
forgot_smart_otp_pin
func_fingerprint_login
func_smart_otp
new_09_June
new_10_June
search_period
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
23 deletions
+24
-23
AppDelegate.m
ios/Invest/AppDelegate.m
+22
-22
url.js
src/apis/url.js
+2
-1
No files found.
ios/Invest/AppDelegate.m
View file @
bddc0f56
...
...
@@ -8,34 +8,34 @@
#import <React/RCTLinkingManager.h>
#import <AVFoundation/AVFoundation.h>
#import "RNBootSplash.h"
#if DEBUG
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
//
#if DEBUG
//
#import <FlipperKit/FlipperClient.h>
//
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
//
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
//
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
//
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
//
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
//#import <CallAppSDK/CallAppInterface.h>
static
void
InitializeFlipper
(
UIApplication
*
application
)
{
FlipperClient
*
client
=
[
FlipperClient
sharedClient
];
SKDescriptorMapper
*
layoutDescriptorMapper
=
[[
SKDescriptorMapper
alloc
]
initWithDefaults
];
[
client
addPlugin
:[[
FlipperKitLayoutPlugin
alloc
]
initWithRootNode
:
application
withDescriptorMapper
:
layoutDescriptorMapper
]];
[
client
addPlugin
:[[
FKUserDefaultsPlugin
alloc
]
initWithSuiteName
:
nil
]];
[
client
addPlugin
:[
FlipperKitReactPlugin
new
]];
[
client
addPlugin
:[[
FlipperKitNetworkPlugin
alloc
]
initWithNetworkAdapter
:[
SKIOSNetworkAdapter
new
]]];
[
client
start
];
}
#endif
//
//
//
static void InitializeFlipper(UIApplication *application) {
//
FlipperClient *client = [FlipperClient sharedClient];
//
SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
//
[client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
//
[client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
//
[client addPlugin:[FlipperKitReactPlugin new]];
//
[client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
//
[client start];
//
}
//
#endif
@implementation
AppDelegate
-
(
BOOL
)
application
:(
UIApplication
*
)
application
didFinishLaunchingWithOptions
:(
NSDictionary
*
)
launchOptions
{
#if DEBUG
InitializeFlipper
(
application
);
#endif
//
#if DEBUG
//
InitializeFlipper(application);
//
#endif
[[
AVAudioSession
sharedInstance
]
setCategory
:
AVAudioSessionCategoryPlayback
error
:
nil
];
RCTBridge
*
bridge
=
[[
RCTBridge
alloc
]
initWithDelegate
:
self
launchOptions
:
launchOptions
];
...
...
This diff is collapsed.
Click to expand it.
src/apis/url.js
View file @
bddc0f56
export
const
root
=
'http://api.dcvinvest.com/'
;
export
const
root
=
'http://services.dcvinvest.com/'
;
export
default
{
urllogin
:
root
+
'api/auth/customer-login'
,
urlRegistor
:
root
+
'api/auth/customer-register'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment