Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev to main #72

Merged
merged 49 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a31a222
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
0557a39
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
dcdae80
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
acc2838
Merge branch 'dev' into task/MOB-LIB-REVAMP
chathurapathiranage Aug 16, 2024
fb87036
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
2fc84d8
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
83d7e4e
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
8ea755d
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
5a993bd
revamp the lib with example live reload
chathurapathiranage Aug 16, 2024
ee95cce
updating with the dev branch
chathurapathiranage Aug 20, 2024
a6a950b
update with the dev brach
chathurapathiranage Aug 23, 2024
8e883f8
update with the dev brach
chathurapathiranage Aug 23, 2024
693bf9b
task/MOB-68
chathurapathiranage Sep 2, 2024
1618746
Merge branch 'dev' into task/MOB-LIB-REVAMP
chathurapathiranage Sep 2, 2024
d95d6e6
Merge pull request #71 from degica/task/MOB-LIB-REVAMP
chathurapathiranage Sep 2, 2024
a9a8be2
changes from main to dev
chathurapathiranage Sep 2, 2024
88f096b
Replace with figma icons
Sep 4, 2024
24680e8
linting and type fixes
Sep 4, 2024
3143a09
improve the readablity of the Main State
chathurapathiranage Sep 4, 2024
66c9562
Double quote linting issues fixed
Sep 4, 2024
4e8bc2a
Double quote linting issues fixed 2nd
Sep 4, 2024
53e5ea9
Merge pull request #74 from degica/task/MOB-65-P1
chathurapathiranage Sep 5, 2024
23ecf19
Resolved conflicts
Sep 5, 2024
3cc928f
linting fixes for new files
Sep 5, 2024
877a106
Merge pull request #73 from degica/task/MOB-62
tharindu-rhino Sep 5, 2024
d0b74bb
removed the dark theme based on system preference
chathurapathiranage Sep 8, 2024
1000e78
custom theme config
chathurapathiranage Sep 9, 2024
0fbe1c7
Merge pull request #75 from degica/task/MOB-65-P2
chathurapathiranage Sep 9, 2024
34d8481
auto width shop pills
chathurapathiranage Sep 10, 2024
c8ee545
3d secure integration
Sep 10, 2024
d3ce8fb
Update readme file
Sep 10, 2024
5335bf8
Merge pull request #76 from degica/task/MOB-61
tharindu-rhino Sep 10, 2024
b789b3d
readme update for theme option
chathurapathiranage Sep 12, 2024
c867a12
Support Customer Mode
Sep 15, 2024
6db526c
MOB-71 & MOB-72
chathurapathiranage Sep 18, 2024
dc9ae7e
Merge pull request #79 from degica/task/MOB-71
chathurapathiranage Sep 18, 2024
2a2c03c
Merge branch 'dev' of https://github.com/degica/mobile-sdk_react-nati…
Sep 18, 2024
b83ae1e
customer payment with email input
Sep 18, 2024
d395b72
Merge pull request #80 from degica/task/MOB-63
tharindu-rhino Sep 19, 2024
d2a335d
Merge pull request #77 from degica/task/MOB-69
chathurapathiranage Sep 19, 2024
2896b17
Merge pull request #78 from degica/task/MOB-64
chathurapathiranage Sep 19, 2024
fe7d485
MOB-73
chathurapathiranage Sep 23, 2024
fb558ed
MOB-73
chathurapathiranage Sep 24, 2024
5b0b966
Merge pull request #81 from degica/task/MOB-73
chathurapathiranage Sep 25, 2024
f047adb
loading animation added
Sep 25, 2024
d2e71f2
Center success check mark
Sep 25, 2024
1c11faa
Merge pull request #82 from degica/task/MOB-63-loading-integration
tharindu-rhino Sep 25, 2024
dfe717d
rm unwanted example script from main package.json
chathurapathiranage Sep 27, 2024
980e80e
test update
chathurapathiranage Oct 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pbxproj -text
# specific for windows script files
*.bat text eol=crlf
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
node-version: '18'

- name: Install dependencies
run: cd payment_sdk && yarn install
run: yarn install

- name: Run Lint Check
run: cd payment_sdk && yarn lint
run: yarn lint

- name: Run Jest tests
run: cd payment_sdk && yarn test
run: yarn test
140 changes: 72 additions & 68 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,74 +1,78 @@
# Node modules
node_modules/

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.log

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# TypeScript
*.tsbuildinfo

# Build outputs
dist/
build/
lib/

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# IDEs and editors
.idea/
.vscode/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Mac system files
# OSX
#
.DS_Store

# Haste Map
/metro-cache
/react-native-packager-cache
# XDE
.expo/

# React Native
*.lock
ios/Pods/
ios/build/
android/app/build/
# VSCode
.vscode/
jsconfig.json

# Xcode
*.xcworkspace
*.xcuserdatad
*.xcuserdata
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
/payment_sdk/.yarn
project.xcworkspace

# Android/IJ
#
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml

# Cocoapods
#
example/ios/Pods

# Ruby
example/vendor/

# node.js
#
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Expo
.expo/

# Turborepo
.turbo/

# generated by bob
lib/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.1.cjs

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
nodeLinker: node-modules
nmHoistingLimits: workspaces

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.1.cjs
File renamed without changes.
133 changes: 133 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
Loading
Loading