Skip to content

Simple hybrid-platform example app using the Trustly Javascript library with native iOS and Android mobile apps.

License

Notifications You must be signed in to change notification settings

TrustlyInc/trustly-webview-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trustly Mobile Webview Example App

screenshot of example app

This project is provided as an example of integration between a web app serving the Trustly UI and mobile apps that render that web app from a webview. Specifically, this example focuses on successfully handling OAuth and App-to-App bank authorization user flows. The repository can be used alongside Trustly's Mobile App Webview tutorial.

The Web App

The react-web-app directory contains a simple React app that displays a "Pay with Trustly" button which launches the Lightbox. Instructions for running this app can be found in that directory's ReadMe.

The iOS App

The ios-app directory contains a simple Swift app that renders a Webview of a given URL. With the above React app running, the iOS app can be pointed to the resulting URL to demonstrate the webview and secure-in-app-browser functionality required to successfully integrate the two applications. Additional instructions can be found in that directory's ReadMe.

The Android App

The android-app directory contains a simple Kotlin app that renders a Webview of a given URL. With the above React app running, the Android app can be pointed to the resulting URL to demonstrate the webview and secure-in-app-browser functionality required to successfully integrate the two applications. Additional instructions can be found in that directory's ReadMe.

Contributing

You can participate in this project by submitting bugs and feature requests in the Issues tab. Please, add @lukevance as an assignee.

If you are interested in fixing issues and contributing directly to the code base, feel free to open a Pull Request with your changes. Please, make sure to fulfill our Pull Request Template and add @lukevance as code reviewer.

About

Simple hybrid-platform example app using the Trustly Javascript library with native iOS and Android mobile apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published