#dev-travis_error
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1450827240148570152
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
as I see in doc and github this line of code using when
TerminalApplicationDelegate.onCreate(this) in handoff mode not tap to pay
๐ Happy to help
I think you can still do the following here:
https://github.com/stripe/stripe-terminal-react-native/issues/809#issuecomment-2982475592
The change should be available in the latest release already:
https://github.com/stripe/stripe-terminal-react-native/pull/964
TapToPay.isInTapToPayProcess() is available from React Native SDK in v0.0.1-beta.26
https://github.com/stripe/stripe-terminal-react-native/issues/809#issuecomment-3189242684
so We should wait to next version ?
No it's already released
the latest release version for terminal react native is v0.0.1-beta.28 and the isInTapToPayProcess was added in v0.0.1-beta.26
how to use this ?
isInTapToPayProcess?
what do you mean by "how to use this"?
i mean code sample
should I use this TerminalApplicationDelegate in reac tantive app?
As I know this one should use in handoff method not taptopay method?
// For example, this will be skipped.
erminalApplicationDelegate.onCreate(this)
And what mean this 'For example' sould i condisder other states?
I think the conventions for RN are a bit different, but our docs are not showing this currently (we will flag this internally), but the equivalent should be supported
It looks likle this might be in the android specific overrides here, like the example: https://github.com/stripe/stripe-terminal-react-native/blob/v0.0.1-beta.28/example-app/android/app/src/main/java/com/example/stripeterminalreactnative/MainApplication.kt#L45-L55
so should i use this or not in react native?
in tap to pay method
if (TapToPay.isInTapToPayProcess()) { return }
TerminalApplicationDelegate.onCreate(this)
Or need open issue on github and ask from develop team direclty?