File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
android/src/main/java/com/reactnativedocumentviewer Expand file tree Collapse file tree 3 files changed +3
-7
lines changed 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-
1814jobs :
1915 build :
2016 runs-on : ubuntu-latest
5450 publish : yarn run release-packages
5551 env :
5652 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 = reactApplicationContext. currentActivity
25+ val currentActivity = 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" ,
58- "provenance" : true
57+ "access" : " public"
5958 },
6059 "devDependencies" : {
6160 "@tsconfig/node18" : " ^18.2.4" ,
You can’t perform that action at this time.
0 commit comments