#jackyum-terminal-ios
1 messages · Page 1 of 1 (latest)
you already have an existing thread for this right?
Ah maybe it's a different jack. What's your question @hearty rapids ?
All good, so what's the problem? Can you try and provide a lot more specific details all in one message?
jackyum-terminal-ios
Yes! So I'm trying to setup stripe terminal, with the offical ios documentation.
However, when I was following the guide, it says I should be able to discover the terminal via bluetooth after I turn it on, but I can't
What does that mean "I can't"? Like what code are you using, which Bluetooth reader do you have, what do you see, what do the logs say, etc.
So I am expecting to find the device discoverable in the ios settings, bluetooth device menu, but the device is not there
I'm using stripe M2
yeah you are absolutely not supposed to go in the bluetooth settings of the phone
this is explicitly something to never do and if you do, it can break things
which doc are you following?
we never connect them
but in the menu we have the impression that at least it should be discoverable
we have tried the flutter plugin:
Also we are working on trying this one : https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=ios
But the problem is the device never discovered, even through bluetooth
sorry I'm really struggling to follow
Are you the developer? Are you building this app yourself? Are you just trying to discover the M2 reader in your Bluetooth settings on the phone? Something else?
PM usually means you're not the developer
yes
like are you writing the coderight now, running the app yourself, etc.?
I'm running the app
but not writing the code at the moment
for this particular integration
The problem is in the manual it says the M2 reader should be discovered in the device settings
in which manual?
We have also implemented this part, but the device never showed up in the scanned list, even after restarting apps while device is reset and powered up
Yeah sorry, I need really more actionable information
I need to see your code, what you/your developer gets as the response when discovering the readers, if they have any errors, etc.
but the manual of the M2 itself should not matter
My main question is should the stripe terminal M2 show up in the bluetooth discovered devices?
Or it doesn't matter
I don't know and I asked my team and we don't know either. We never look at that part since you should never use it
How do I tell if the device is in pairing mode?
Because the manual doesn't match the device behavior
If I press reset, the beep, sound, LED doesn't go with manual specification.
I was doing that to find out if device is in pairing mode
I'll share you my code right after, and connect you with my developer when he wakes up
How many beeps should it be when in pairing mode?
Can you share your device's serial number? And can you also be really specific about what behavior you're seeing - when you turn on your reader, what do you see (LED pattern, beeps)
SN: STRM26146015322
The description below is for turning on the device:
3 beeps ascending
4 led light up, then left most led blink
Sorry there was mistype in the serial number
Also, I don't think we have any error message during device scanning, we just can't find it on available device list
When you say there's no error message during device scanning (through the ios terminal sdk) - there's no error, but the device still doesn't show up in the discovered list, right?
yes
At least no error from the terimnal. I'll later double check with my team when they wake up in case they muted the error, which I believe they didn't
You also mentioned the left-most LED it blinking - is your M2 currently charging?
Nope
Also, the orientation is: 4 led at the bottom
in case left and right got confused
Is it possible that the reader is connected to some other device already? Have you tried to find the reader through another device to see if it shows up on that list?
I don't believe so, I have pressed reset by different duration in case that happened
When you say reset, you're talking about the reset button and not the power button, right?
Interesting - so I just did a quick test on my end, with my M2 reader I don't see it in the bluetooth device setting on my iphone, but I do see it in the settings for my Android device (so I don't think the absence of it in your iphone's device settings means the m2 is broken).
yes, that's what I believe
Is that due to lack of BLE openess in iphone?
Should I continue to trying to get it work with Bluetooth peripheral on ios device? I was working with the flutter library others' built, which is apparently not able to discover any devices on ios system.
But if I can get a guarantee that M2 will work with ipad hardware then I will finish the native implementation and continue the testing
I'm not fully sure of why it wouldn't show up in the Bluetooth device settings, but it may be because of what's mentioned here -https://github.com/stripe/stripe-terminal-ios/issues/129#issuecomment-996217123
"M2 readers that haven't yet been paired via the SDK won't show in the iOS Settings > Bluetooth screen."
and yea, I think getting this to work with our ios terminal library is the best first step (and we do have samples as well for this)
sounds good. I hope you guys can do flutter soon. I'll ask my developer to go back to ios building
thanks!
👍 if you're still having issues using the ios library, have your developer come back to us with the specifics (version of the library they're using, code, etc.) and we can help