Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trustlyinc/trustly-cordova-example
Simple Cordova app using the Trustly SDK
https://github.com/trustlyinc/trustly-cordova-example
cordova javascript mobile
Last synced: about 1 month ago
JSON representation
Simple Cordova app using the Trustly SDK
- Host: GitHub
- URL: https://github.com/trustlyinc/trustly-cordova-example
- Owner: TrustlyInc
- License: mit
- Created: 2023-02-07T21:13:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T19:13:11.000Z (9 months ago)
- Last Synced: 2024-10-14T00:22:40.118Z (about 1 month ago)
- Topics: cordova, javascript, mobile
- Language: JavaScript
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trustly Cordova Example App
## Getting Started
1. Clone this repository
```
git clone [email protected]:TrustlyInc/trustly-cordova-example.git
```2. Install project dependencies
```
npm install
```3. Add desired platforms to your project. We suggest at least adding `ios` and `android`.
```
npx cordova platform add ios && npx cordova platform add android
```4. Replace the placeholder tokens with your credentials:
```
// ./www/js/index.jsconst ACCESS_ID = 'YOUR_ACCESS_ID';
const MERCHANT_ID = 'YOUR_MERCHANT_ID';
```Also replace YOUR_ACCESS_ID in `./www/index.html` within the script tag that loads `trustly.js`.
5. Start the app!
```
npx cordova run ios
```or
```
npx cordova run android
```# Contributing
You can participate in this project by submitting bugs and feature requests in the [Issues](https://github.com/TrustlyInc/trustly-cordova-example/issues) tab. Please, add [@lukevance](https://github.com/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](https://github.com/TrustlyInc/trustly-cordova-example/blob/main/.github/pull_request_template.md) and add [@lukevance](https://github.com/lukevance) as code reviewer.