Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2023-01-23 11:04:49 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a9b6eaec54977094cf53e83046cadab16b8db123
a9b6eaec
1 parent
563977d6
crash fixes
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
warply_android_sdk/build.gradle
View file @
a9b6eae
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4.6rc
39
'
PUBLISH_VERSION
=
'4.5.4.6rc
40
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
View file @
a9b6eae
package
ly
.
warp
.
sdk
.
activities
;
import
android.Manifest
;
import
android.content.ActivityNotFoundException
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.pm.PackageManager
;
...
...
@@ -287,9 +288,13 @@ public class ShopsActivity extends FragmentActivity implements View.OnClickListe
WarplyAnalyticsManager
.
logTrackersEvent
(
this
,
"click"
,
"SeeShopWebsite"
);
if
(!
TextUtils
.
isEmpty
(
mMerchant
.
getWebsite
()))
{
try
{
Intent
intent
=
new
Intent
(
Intent
.
ACTION_VIEW
);
intent
.
setData
(
Uri
.
parse
(
mMerchant
.
getWebsite
()));
startActivity
(
intent
);
}
catch
(
ActivityNotFoundException
e
)
{
e
.
printStackTrace
();
}
}
}
...
...
Please
register
or
login
to post a comment