Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
demchenkoalex committed Aug 16, 2021
1 parent 4cd1b24 commit 94ae4b6
Show file tree
Hide file tree
Showing 11 changed files with 692 additions and 655 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.5.20')}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.5.21')}"
}
}

Expand Down
4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ buildscript {
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
kotlinVersion = '1.5.20'
ndkVersion = '22.1.7171670'
kotlinVersion = '1.5.21'
ndkVersion = '23.0.7599858'
}
repositories {
google()
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'
platform :ios, '11.0'

target 'example' do
config = use_native_modules!
Expand Down
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ PODS:
- React-jsi (= 0.64.2)
- React-perflogger (= 0.64.2)
- React-jsinspector (0.64.2)
- react-native-document-picker (5.2.0):
- react-native-document-picker (6.0.2):
- React-Core
- React-perflogger (0.64.2)
- React-RCTActionSheet (0.64.2):
Expand Down Expand Up @@ -487,7 +487,7 @@ SPEC CHECKSUMS:
React-jsi: 67747b9722f6dab2ffe15b011bcf6b3f2c3f1427
React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
react-native-document-picker: f1b5398801b332c77bc62ae0eae2116f49bdff26
react-native-document-picker: b5bebda9a4e4d965cd32b6b8a233ab6c8c1aecb1
React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa
Expand All @@ -503,6 +503,6 @@ SPEC CHECKSUMS:
Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 870f4ec950d9fe950621c2bb0b9681f36415e8e0
PODFILE CHECKSUM: 911684475274f231f9f4c639fa56b97880dc0c32

COCOAPODS: 1.10.1
4 changes: 2 additions & 2 deletions example/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
"$(inherited)",
Expand Down Expand Up @@ -426,7 +426,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
"$(inherited)",
Expand Down
12 changes: 6 additions & 6 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
"dependencies": {
"react": "^17.0.2",
"react-native": "^0.64.2",
"react-native-document-picker": "^5.2.0"
"react-native-document-picker": "^6.0.2"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/runtime": "^7.14.6",
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@react-native-community/eslint-config": "^3.0.0",
"@types/jest": "^26.0.24",
"@types/react-native": "^0.64.12",
"@types/react-native": "^0.64.13",
"@types/react-test-renderer": "^17.0.1",
"babel-jest": "^26.6.3",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.1",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "^17.0.2",
"typescript": "^4.3.5"
},
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import DocumentPicker from 'react-native-document-picker'
const App = () => {
const openPicker = async () => {
try {
const response = await DocumentPicker.pick({
const response = await DocumentPicker.pickSingle({
type: [DocumentPicker.types.allFiles],
})
Alert.alert('Path', getPath(response.uri), [{ text: 'OK' }], {
Expand Down
653 changes: 336 additions & 317 deletions example/yarn.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flyerhq/react-native-android-uri-path",
"version": "2.1.2",
"version": "2.1.3",
"description": "Get an absolute path to a file retrieved by Android's Intent.ACTION_GET_CONTENT that returns a content URI.",
"homepage": "https://github.com/flyerhq/react-native-android-uri-path#readme",
"main": "lib/index.js",
Expand Down Expand Up @@ -38,17 +38,17 @@
"test": "jest"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/runtime": "^7.14.6",
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@react-native-community/eslint-config": "^3.0.0",
"@types/jest": "^26.0.24",
"@types/react-native": "^0.64.12",
"@types/react-native": "^0.64.13",
"@types/react-test-renderer": "^17.0.1",
"babel-jest": "^26.6.3",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.1",
"metro-react-native-babel-preset": "^0.66.2",
"react": "^17.0.2",
"react-native": "^0.64.2",
"react-test-renderer": "^17.0.2",
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
"declaration": true,
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react-native",
"jsx": "react",
"lib": ["ESNext"],
"module": "CommonJS",
"module": "ESNext",
"moduleResolution": "Node",
"noEmitOnError": true,
"outDir": "./lib",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext"
"target": "ES2018"
},
"exclude": ["**/__tests__/*"],
"include": ["src"]
Expand Down
Loading

0 comments on commit 94ae4b6

Please sign in to comment.