#uday_api

1 messages · Page 1 of 1 (latest)

gloomy magnetBOT
#

👋 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/1247868095486496869

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

wanton carbon
cerulean portal
wanton carbon
#

if user dose not have nfc hardwar then he will not able to download app?

cerulean portal
#

Which app? You can't offer Tap to Pay in your app on devices without NFC support

wanton carbon
#

yes in app it is optional

#

you can user M2 reader or Tap to pay

cerulean portal
#

Then I'm not sure what you're asking me

wanton carbon
#

simple is that if i have added tap to pay library in my app then only NFC hardware devices can download app?

#

The non-NFC device is not able to download app...

cerulean portal
#

They should still be able to download the app yes. Just the Tap to Pay functoionality wouldn't be available

#

Not really a Stripe question to be honest, but more of how the Android SDKs/Google Store works

wanton carbon
#

Okay

#

in stripe library manifest file there is NFC premitions
<uses-permission android:name="android.permission.NFC"/>

#

is it mean the device must have NFC haredware ?

cerulean portal
#

Yeah, that's just telling the app the SDK is used in that it needs NFC permissions

cerulean portal
wanton carbon
#

but othere than that it also has
<uses-feature android:name="android.hardware.nfc" android:required="true"/>

#

permition

#

and it is requieed true

cerulean portal
#

I've no idea what you're referencing

wanton carbon
#

it is on manifest file of stripe lib

cerulean portal
#

Which Stripe SDK?

wanton carbon
#

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.stripe.cots">
<uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-feature android:name="android.hardware.nfc" android:required="true"/>
<application>
<activity android:exported="false" android:name="com.s.p.Build" android:process="com.stripe.cots.aidlservice" android:theme="@style/Theme.CotsApp">
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:exported="false" android:name="com.stripe.cots.simulator.SimulatedContactlessPaymentActivity" android:theme="@style/Theme.CotsApp"/>
<service android:exported="false" android:name="com.stripe.cots.aidlservice.CotsService" android:process="com.stripe.cots.aidlservice"/>
</application>
</manifest>

#

this
implementation "com.stripe:stripeterminal-localmobile:3.2.1"

cerulean portal
#

So you probably need to use a newer version of the SDK