{"id":21708418,"url":"https://github.com/trustlyinc/trustly-webview-example","last_synced_at":"2025-04-12T16:27:20.316Z","repository":{"id":98799146,"uuid":"587482129","full_name":"TrustlyInc/trustly-webview-example","owner":"TrustlyInc","description":"Simple hybrid-platform example app using the Trustly Javascript library with native iOS and Android mobile apps.","archived":false,"fork":false,"pushed_at":"2025-03-12T17:59:29.000Z","size":739,"stargazers_count":10,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-26T10:52:19.060Z","etag":null,"topics":["android","ios","kotlin","react","reactjs","swift","webview"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrustlyInc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-10T21:16:06.000Z","updated_at":"2025-03-06T16:08:13.000Z","dependencies_parsed_at":"2023-03-13T15:54:47.557Z","dependency_job_id":"14fb1573-d7ee-435a-a419-d0fbb7f38a06","html_url":"https://github.com/TrustlyInc/trustly-webview-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustlyInc%2Ftrustly-webview-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustlyInc%2Ftrustly-webview-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustlyInc%2Ftrustly-webview-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustlyInc%2Ftrustly-webview-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrustlyInc","download_url":"https://codeload.github.com/TrustlyInc/trustly-webview-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248595909,"owners_count":21130590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ios","kotlin","react","reactjs","swift","webview"],"created_at":"2024-11-25T22:23:51.897Z","updated_at":"2025-04-12T16:27:20.288Z","avatar_url":"https://github.com/TrustlyInc.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trustly Mobile Webview Example App\n\n\u003cimg src=\"https://user-images.githubusercontent.com/13320316/255275758-068fbcd2-b681-4fdb-a914-15ba1c875c5a.png\" alt=\"screenshot of example app\" width=\"250\"\u003e\n\nThis 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](https://amer.developers.trustly.com/payments/docs/oauth-for-mobile-apps).\n\n## The Web App\n\nThe `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](./react-web-app/README.md).\n\n## The iOS App\n\nThe `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](./ios-app/README.md).\n\n## The Android App\n\nThe `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](./android-app/README.md).\n\n# Contributing\n\nYou can participate in this project by submitting bugs and feature requests in the [Issues](https://github.com/TrustlyInc/trustly-webview-example/issues) tab. Please, add [@lukevance](https://github.com/lukevance) as an assignee.\n\nIf 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](https://github.com/TrustlyInc/trustly-webview-example/blob/main/.github/pull_request_template.md) and add [@lukevance](https://github.com/lukevance) as code reviewer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustlyinc%2Ftrustly-webview-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustlyinc%2Ftrustly-webview-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustlyinc%2Ftrustly-webview-example/lists"}