Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2023-07-24 14:32:17 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33612f6e232653d80323e834f3fd680a71fc7305
33612f6e
1 parent
212c9846
add loyaltyWallet event from webview
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
View file @
33612f6
...
...
@@ -668,6 +668,12 @@ var timer2: DispatchSourceTimer?
if
(
access_token
!=
""
&&
refresh_token
!=
""
)
{
swiftApi
()
.
updateRefreshToken
(
access_token
:
access_token
,
refresh_token
:
refresh_token
)
}
}
else
if
(
eventArray
[
1
]
==
"loyaltyWallet"
)
{
// event:loyaltyWallet
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"WalletViewController"
)
as!
SwiftWarplyFramework
.
WalletViewController
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
...
...
Please
register
or
login
to post a comment