Comments (6)
Until the new version is released, it should be enough to add the following to your apps manifest to be able to target android 12 (api 31).
<service android:name="com.izettle.android.auth.sync.ZettleSyncService" android:exported="false"/>
<service android:name="com.izettle.android.auth.ZettleAuthService" android:exported="false"/>
<receiver android:name="com.izettle.android.auth.sync.ZettleSyncAlarmReceiver" android:exported="false"/>
from sdk-android.
Hi, thank you for reporting.
This is planned in our backlog and will most likely be in the next point release.
from sdk-android.
Please update to solve this issue
from sdk-android.
Update for release 1.25.0 of the SDK. The payment flow still isn't requesting the necessary android.permission.BLUETOOTH_SCAN permission when targeting Android 12+. See crash below:
java.lang.SecurityException: Need android.permission.BLUETOOTH_SCAN permission for android.content.AttributionSource@ef13e190: GattService registerScanner
at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)
at android.os.Parcel.createException(Parcel.java:2409)
at android.os.Parcel.readException(Parcel.java:2392)
at android.os.Parcel.readException(Parcel.java:2334)
at android.bluetooth.IBluetoothGatt$Stub$Proxy.registerScanner(IBluetoothGatt.java:1727)
at android.bluetooth.le.BluetoothLeScanner$BleScanCallbackWrapper.startRegistration(BluetoothLeScanner.java:426)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:278)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:154)
at com.izettle.payments.android.bluetooth.ble.PlatformScannerWrapperV21Impl.start(SourceFile:18)
at com.izettle.payments.android.bluetooth.ble.BleScannerImpl.startScanner$zettle_payments_sdk(SourceFile:1)
at com.izettle.payments.android.bluetooth.ble.BleScanner.onStartScan(SourceFile:11)
at com.izettle.payments.android.bluetooth.ble.BleScanner.access$onStartScan(SourceFile:1)
at com.izettle.payments.android.bluetooth.ble.BleScanner$$special$$inlined$stateObserver$1.onNext(SourceFile:111)
at com.izettle.android.commons.state.StateImpl$$special$$inlined$forEach$lambda$1.invoke(SourceFile:2)
at com.izettle.android.commons.state.StateImpl$$special$$inlined$forEach$lambda$1.invoke(SourceFile:1)
at com.izettle.android.commons.thread.EventsLoopKt$sam$java_lang_Runnable$0.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
from sdk-android.
Resolved with release-1.25.4, many thanks.
from sdk-android.
Resolved with release-1.25.4, many thanks.
Hi @planetcoops, there was a bug in 1.25.4 that have been resolved in 1.25.5 that is now available.
To not let 1.25.4 spread too much I had to delete the release.
from sdk-android.
Related Issues (20)
- 🔒 GitHub Advanced Security has been enabled
- 🔒 GitHub Advanced Security has been enabled
- supportsRtl HOT 2
- How to activate Manual Entry? HOT 1
- Can't complete OAuth login flow after upgrading from 1.25.6 to 1.30.1 HOT 1
- Technical error This payment may have not gone through. Please check your receipts and try again # Steps to Reproduce. Popup appearing HOT 3
- Refund appears to be failing
- Action Request(2049, true) is not supported in state ConnectingToRx HOT 4
- Fatal Exception: java.lang.NoSuchMethodError HOT 9
- Feature: Tap to Pay HOT 1
- Incompatible with the most recent React Native version HOT 1
- Really slow processing time HOT 2
- Zettle transaction id tracing
- Fatal error: DatecsReaderV2.onTransactionCompleted HOT 6
- apps keep crashing HOT 2
- development mode HOT 1
- Feature request: URL scheme triggering of card readers HOT 2
- 403 Forbidden upon successful authentication HOT 7
- release-2.11.1 has references to missing com.airbnb.lottie.* classes HOT 5
- SDK not initialized HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-android.