You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
The IntentIntegrator class limits the apps able to handle barcode scanner intents to the known apps only in the private method initializeConfiguration:
targetApplications = TARGET_ALL_KNOWN;
while TARGET_ALL_KNOWN is defined in the following way:
This can be overridden in app/src/main/kotlin/net/syncthing/lite/utils/FragmentIntentIntegrator.kt by calling setTargetApplications with a list extended with the id of Binary Eye.
Alternatively, it is possible to have a private copy of IntentIntegrator and drop String targetAppPackage = findTargetAppPackage(intentScan); and intentScan.setPackage(targetAppPackage); calls completely.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
IntentIntegrator
class limits the apps able to handle barcode scanner intents to the known apps only in the private methodinitializeConfiguration
:while
TARGET_ALL_KNOWN
is defined in the following way:This can be overridden in
app/src/main/kotlin/net/syncthing/lite/utils/FragmentIntentIntegrator.kt
by callingsetTargetApplications
with a list extended with the id of Binary Eye.Alternatively, it is possible to have a private copy of
IntentIntegrator
and dropString targetAppPackage = findTargetAppPackage(intentScan);
andintentScan.setPackage(targetAppPackage);
calls completely.The text was updated successfully, but these errors were encountered: