Skip to content

Module Compatibility for more Android devices #8

Description

@israelins85

The timodule.xml was requiring AUTOFOCUS and FLASHLIGHT features that means some devices will be incompatible with this module, to solve this make autofocus and optional please.

Something like that:

<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest>
            <uses-permission android:name="android.permission.CAMERA" />
            <uses-feature android:name="android.hardware.camera" />
            <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
            <uses-permission android:name="android.permission.FLASHLIGHT" />
            <uses-feature android:name="android.hardware.camera.flash" android:required="false" />

            <application>
                <activity android:name="com.mwaysolutions.barcode.TitaniumBarcodeActivity"
                    android:configChanges="keyboardHidden"
                    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
            </application>
        </manifest>
    </android>

</ti:module>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions