@xbenjii/react-native-braintree-dropin-ui 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
 - package/README.md +377 -377
 - package/RNBraintreeDropIn.podspec +22 -22
 - package/android/build.gradle +110 -110
 - package/android/gradle/wrapper/gradle-wrapper.properties +8 -8
 - package/android/gradle.properties +15 -15
 - package/android/gradlew.bat +92 -92
 - package/android/src/main/AndroidManifest.xml +4 -4
 - package/android/src/main/java/com/xbenjii/RNBraintreeDropIn/RNBraintreeDropInModule.java +366 -366
 - package/android/src/main/java/com/xbenjii/RNBraintreeDropIn/RNBraintreeDropInPackage.java +27 -27
 - package/index.js +5 -5
 - package/index.js.flow +42 -42
 - package/ios/RNBraintreeDropIn.h +40 -40
 - package/ios/RNBraintreeDropIn.m +352 -352
 - package/ios/RNBraintreeDropIn.xcodeproj/project.pbxproj +291 -291
 - package/ios/RNBraintreeDropIn.xcworkspace/contents.xcworkspacedata +8 -8
 - package/package.json +38 -38
 - package/react-native.config.js +13 -13
 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,38 +1,38 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {
         
     | 
| 
       2 
     | 
    
         
            -
              "name": "@xbenjii/react-native-braintree-dropin-ui",
         
     | 
| 
       3 
     | 
    
         
            -
              "version": "2. 
     | 
| 
       4 
     | 
    
         
            -
              "description": "> React Native integration of Braintree Drop-in IOS V4 ANDROID V2 (Apple Pay &Android Pay Enabled)",
         
     | 
| 
       5 
     | 
    
         
            -
              "main": "index.js",
         
     | 
| 
       6 
     | 
    
         
            -
              "dependencies": {},
         
     | 
| 
       7 
     | 
    
         
            -
              "devDependencies": {
         
     | 
| 
       8 
     | 
    
         
            -
                "react": "^18.2.0",
         
     | 
| 
       9 
     | 
    
         
            -
                "react-native": "^0.73.8"
         
     | 
| 
       10 
     | 
    
         
            -
              },
         
     | 
| 
       11 
     | 
    
         
            -
              "scripts": {
         
     | 
| 
       12 
     | 
    
         
            -
                "test": "echo \"Error: no test specified\" && exit 1"
         
     | 
| 
       13 
     | 
    
         
            -
              },
         
     | 
| 
       14 
     | 
    
         
            -
              "repository": {
         
     | 
| 
       15 
     | 
    
         
            -
                "type": "git",
         
     | 
| 
       16 
     | 
    
         
            -
                "url": "git+https://github.com/xbenjii/react-native-braintree-dropin-ui.git"
         
     | 
| 
       17 
     | 
    
         
            -
              },
         
     | 
| 
       18 
     | 
    
         
            -
              "keywords": [
         
     | 
| 
       19 
     | 
    
         
            -
                "react-native",
         
     | 
| 
       20 
     | 
    
         
            -
                "braintree",
         
     | 
| 
       21 
     | 
    
         
            -
                "payments",
         
     | 
| 
       22 
     | 
    
         
            -
                "dropin",
         
     | 
| 
       23 
     | 
    
         
            -
                "drop-in-ui"
         
     | 
| 
       24 
     | 
    
         
            -
              ],
         
     | 
| 
       25 
     | 
    
         
            -
              "peerDependencies": {
         
     | 
| 
       26 
     | 
    
         
            -
                "react": "*",
         
     | 
| 
       27 
     | 
    
         
            -
                "react-native": "*"
         
     | 
| 
       28 
     | 
    
         
            -
              },
         
     | 
| 
       29 
     | 
    
         
            -
              "author": "Ben Fortune <github@xbenjii.co.uk>",
         
     | 
| 
       30 
     | 
    
         
            -
              "license": "MIT",
         
     | 
| 
       31 
     | 
    
         
            -
              "bugs": {
         
     | 
| 
       32 
     | 
    
         
            -
                "url": "https://github.com/xbenjii/react-native-braintree-dropin-ui/issues"
         
     | 
| 
       33 
     | 
    
         
            -
              },
         
     | 
| 
       34 
     | 
    
         
            -
              "homepage": "https://github.com/xbenjii/react-native-braintree-dropin-ui#readme",
         
     | 
| 
       35 
     | 
    
         
            -
              "publishConfig": {
         
     | 
| 
       36 
     | 
    
         
            -
                "access": "public"
         
     | 
| 
       37 
     | 
    
         
            -
              }
         
     | 
| 
       38 
     | 
    
         
            -
            }
         
     | 
| 
      
 1 
     | 
    
         
            +
            {
         
     | 
| 
      
 2 
     | 
    
         
            +
              "name": "@xbenjii/react-native-braintree-dropin-ui",
         
     | 
| 
      
 3 
     | 
    
         
            +
              "version": "2.6.0",
         
     | 
| 
      
 4 
     | 
    
         
            +
              "description": "> React Native integration of Braintree Drop-in IOS V4 ANDROID V2 (Apple Pay &Android Pay Enabled)",
         
     | 
| 
      
 5 
     | 
    
         
            +
              "main": "index.js",
         
     | 
| 
      
 6 
     | 
    
         
            +
              "dependencies": {},
         
     | 
| 
      
 7 
     | 
    
         
            +
              "devDependencies": {
         
     | 
| 
      
 8 
     | 
    
         
            +
                "react": "^18.2.0",
         
     | 
| 
      
 9 
     | 
    
         
            +
                "react-native": "^0.73.8"
         
     | 
| 
      
 10 
     | 
    
         
            +
              },
         
     | 
| 
      
 11 
     | 
    
         
            +
              "scripts": {
         
     | 
| 
      
 12 
     | 
    
         
            +
                "test": "echo \"Error: no test specified\" && exit 1"
         
     | 
| 
      
 13 
     | 
    
         
            +
              },
         
     | 
| 
      
 14 
     | 
    
         
            +
              "repository": {
         
     | 
| 
      
 15 
     | 
    
         
            +
                "type": "git",
         
     | 
| 
      
 16 
     | 
    
         
            +
                "url": "git+https://github.com/xbenjii/react-native-braintree-dropin-ui.git"
         
     | 
| 
      
 17 
     | 
    
         
            +
              },
         
     | 
| 
      
 18 
     | 
    
         
            +
              "keywords": [
         
     | 
| 
      
 19 
     | 
    
         
            +
                "react-native",
         
     | 
| 
      
 20 
     | 
    
         
            +
                "braintree",
         
     | 
| 
      
 21 
     | 
    
         
            +
                "payments",
         
     | 
| 
      
 22 
     | 
    
         
            +
                "dropin",
         
     | 
| 
      
 23 
     | 
    
         
            +
                "drop-in-ui"
         
     | 
| 
      
 24 
     | 
    
         
            +
              ],
         
     | 
| 
      
 25 
     | 
    
         
            +
              "peerDependencies": {
         
     | 
| 
      
 26 
     | 
    
         
            +
                "react": "*",
         
     | 
| 
      
 27 
     | 
    
         
            +
                "react-native": "*"
         
     | 
| 
      
 28 
     | 
    
         
            +
              },
         
     | 
| 
      
 29 
     | 
    
         
            +
              "author": "Ben Fortune <github@xbenjii.co.uk>",
         
     | 
| 
      
 30 
     | 
    
         
            +
              "license": "MIT",
         
     | 
| 
      
 31 
     | 
    
         
            +
              "bugs": {
         
     | 
| 
      
 32 
     | 
    
         
            +
                "url": "https://github.com/xbenjii/react-native-braintree-dropin-ui/issues"
         
     | 
| 
      
 33 
     | 
    
         
            +
              },
         
     | 
| 
      
 34 
     | 
    
         
            +
              "homepage": "https://github.com/xbenjii/react-native-braintree-dropin-ui#readme",
         
     | 
| 
      
 35 
     | 
    
         
            +
              "publishConfig": {
         
     | 
| 
      
 36 
     | 
    
         
            +
                "access": "public"
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
            }
         
     | 
    
        package/react-native.config.js
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            const path = require('path');
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            module.exports = {
         
     | 
| 
       4 
     | 
    
         
            -
              dependency: {
         
     | 
| 
       5 
     | 
    
         
            -
                platforms: {
         
     | 
| 
       6 
     | 
    
         
            -
                  ios: {},
         
     | 
| 
       7 
     | 
    
         
            -
                  android: {
         
     | 
| 
       8 
     | 
    
         
            -
                  	packageImportPath: 'import com.xbenjii.RNBraintreeDropIn.RNBraintreeDropInPackage;',
         
     | 
| 
       9 
     | 
    
         
            -
                    packageInstance: 'new RNBraintreeDropInPackage()',
         
     | 
| 
       10 
     | 
    
         
            -
                  },
         
     | 
| 
       11 
     | 
    
         
            -
                },
         
     | 
| 
       12 
     | 
    
         
            -
              },
         
     | 
| 
       13 
     | 
    
         
            -
            };
         
     | 
| 
      
 1 
     | 
    
         
            +
            const path = require('path');
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module.exports = {
         
     | 
| 
      
 4 
     | 
    
         
            +
              dependency: {
         
     | 
| 
      
 5 
     | 
    
         
            +
                platforms: {
         
     | 
| 
      
 6 
     | 
    
         
            +
                  ios: {},
         
     | 
| 
      
 7 
     | 
    
         
            +
                  android: {
         
     | 
| 
      
 8 
     | 
    
         
            +
                  	packageImportPath: 'import com.xbenjii.RNBraintreeDropIn.RNBraintreeDropInPackage;',
         
     | 
| 
      
 9 
     | 
    
         
            +
                    packageInstance: 'new RNBraintreeDropInPackage()',
         
     | 
| 
      
 10 
     | 
    
         
            +
                  },
         
     | 
| 
      
 11 
     | 
    
         
            +
                },
         
     | 
| 
      
 12 
     | 
    
         
            +
              },
         
     | 
| 
      
 13 
     | 
    
         
            +
            };
         
     |