Error handling improvements #128
ci.yml
on: push
lint
14s
test
17s
build-library
13s
build-android
20s
build-ios
5m 44s
Annotations
15 errors and 15 warnings
build-library
Process completed with exit code 1.
|
lint:
example/src/App.tsx#L12
Insert `··`
|
lint:
example/src/App.tsx#L17
Insert `··`
|
lint:
example/src/Screens/HomeScreen.tsx#L39
'result' is assigned a value but never used
|
lint:
example/src/Screens/PermissionsScreen.tsx#L147
Delete `⏎···`
|
lint:
example/src/Screens/PermissionsScreen.tsx#L157
'auth' is assigned a value but never used
|
lint:
example/src/Screens/PermissionsScreen.tsx#L182
React Hook useEffect contains a call to 'setIsAuthorized'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook
|
lint:
example/src/Screens/PermissionsScreen.tsx#L248
Replace `·style={isAuthorized·?·styles.statusText·:·styles.statusTextInactive}` with `⏎··········style={isAuthorized·?·styles.statusText·:·styles.statusTextInactive}⏎········`
|
lint:
example/src/components/LoadingButton.tsx#L28
Replace `·style={isActive·?·styles.loadingButtonText·:·styles.loadingButtonTextInactive}` with `⏎··········style={⏎············isActive⏎··············?·styles.loadingButtonText⏎··············:·styles.loadingButtonTextInactive⏎··········}⏎········`
|
lint:
example/src/components/PermissionRow.tsx#L18
'isChecked' is defined but never used. Allowed unused args must match /^_/u
|
lint
Process completed with exit code 1.
|
build-ios
mobile-payments-sdk-react-native-example#build:ios: command (/Users/runner/work/mobile-payments-sdk-react-native/mobile-payments-sdk-react-native/example) /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/xfs-ba6d70ee/yarn run build:ios exited (1)
|
build-ios
error: Build input file cannot be found: '/Users/runner/work/mobile-payments-sdk-react-native/mobile-payments-sdk-react-native/example/ios/build/generated/ios/safeareacontextJSI-generated.cpp'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'ReactCodegen' from project 'Pods')
|
build-ios
error: Build input file cannot be found: '/Users/runner/work/mobile-payments-sdk-react-native/mobile-payments-sdk-react-native/example/ios/build/generated/ios/safeareacontextJSI-generated.cpp'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'ReactCodegen' from project 'Pods')
|
build-ios
Process completed with exit code 1.
|
build-library
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
example/src/components/PermissionRow.tsx#L17
Inline style: { borderWidth: 2 }
|
build-android
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-ios
Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
|
build-ios:
example/ios/Pods/glog/src/utilities.cc#L254
'syscall' is deprecated: first deprecated in iOS 10.0 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/glog/src/raw_logging.cc#L153
'syscall' is deprecated: first deprecated in iOS 10.0 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/glog/src/utilities.cc#L254
'syscall' is deprecated: first deprecated in iOS 10.0 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/glog/src/raw_logging.cc#L153
'syscall' is deprecated: first deprecated in iOS 10.0 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m#L88
'OSSpinLock' is deprecated: first deprecated in iOS 10.0 - Use os_unfair_lock() from <os/lock.h> instead [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m#L283
'OSSpinLockLock' is deprecated: first deprecated in iOS 10.0 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m#L285
'OSSpinLockUnlock' is deprecated: first deprecated in iOS 10.0 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m#L297
'OSSpinLockLock' is deprecated: first deprecated in iOS 10.0 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations]
|
build-ios:
example/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m#L299
'OSSpinLockUnlock' is deprecated: first deprecated in iOS 10.0 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations]
|