#thiagomacauba88_api

1 messages ยท Page 1 of 1 (latest)

cedar kindleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260966284665815040

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

swift flicker
#

Hi!

gray gate
#

Can you please share more info? I can't help with this little

swift flicker
#

yep ure

gray gate
#

Your device serial number, which sdk you're using, etc would all be helpful

#

As well as logs

swift flicker
#

implementation "com.stripe:stripeterminal-localmobile:3.7.0"

#

implementation "com.stripe:stripeterminal:3.7.0"

#

I had a pretty old version, and It was recommend to upgrade to latest

gray gate
swift flicker
#

my version was 2.21.1

#

it's crashing in the beggining intialize the terminal

#

Terminal.initTerminal(
context,
LogLevel.VERBOSE,
TokenProvider(),
TerminalEventListener()
)

gray gate
#

Oh

#

Yeah i mean that upgrade is a breaking change. Just upgrading and running won't work

#

You need to follow the migration guide

swift flicker
#

so for initTerminal

#

is not the same anymore? lol

gray gate
#

You call initterminal to initialize, but a lot of stuff changed

#

That's why you need to follow the upgrade guide

#

Just changing the version will not work

swift flicker
#

i can't see there how can i initialize the terminal

gray gate
#

I suspect the init call itself isn't the problem here

#

it's everything else

#

But you need to read that upgrade guide thoroughly to see all the things you need to change

swift flicker
#

i removed the rest of the code

#

the only thing that i have is the init

#

:/

#

I'll try the docs

#

thanks