File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
android/src/main/java/com/reactnativedocumentviewer Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @react-native-documents/viewer " : patch
3+ ---
4+
5+ fix: remove use of deprecated api
Original file line number Diff line number Diff line change 1111 # Allows you to run this workflow manually from the Actions tab
1212 workflow_dispatch :
1313
14+ permissions :
15+ id-token : write # Required for OIDC
16+ contents : read
17+
1418jobs :
1519 build :
1620 runs-on : ubuntu-latest
5054 publish : yarn run release-packages
5155 env :
5256 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53- NPM_TOKEN : ${{ secrets.NPM_TOKEN_NEW }}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RNDocumentViewerModule(reactContext: ReactApplicationContext) : NativeDocu
2222 presentation : String? ,
2323 promise : Promise
2424 ) {
25- val currentActivity = currentActivity
25+ val currentActivity = reactApplicationContext. currentActivity
2626 if (currentActivity == null ) {
2727 rejectWithNullActivity(promise)
2828 return
Original file line number Diff line number Diff line change 5454 },
5555 "homepage" : " https://github.com/react-native-documents/document-picker#readme" ,
5656 "publishConfig" : {
57- "access" : " public"
57+ "access" : " public" ,
58+ "provenance" : true
5859 },
5960 "devDependencies" : {
6061 "@tsconfig/node18" : " ^18.2.4" ,
You can’t perform that action at this time.
0 commit comments