Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6249] Autofillservice hide UI

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2019-06-10T23:49:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeShak Hossain
Created2019-05-10T14:45:58.000+0000
Updated2019-06-10T23:49:02.000+0000

Description

We plan an own autofill service for Android. If I add this to manifest:
 <service
            android:name="de.appwerft.autofillservice.TiAutofillService"
            android:label="Forghetty"
            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
                                <intent-filter>
                                        <action android:name="android.service.autofill.AutofillService" />
                                </intent-filter>
 </service>
Then this service will added to liust of available services, I can add and if I focus a TiUITextfield then the service will called, but: 1. no icon on Home 2. no entry in list of apps in system conf 3. no UI, only the list will show if I make an intent to this Other native autofill services has an UI, we need it too. Any ideas?

Comments

  1. Rainer Schleevoigt 2019-05-11

    Found a solution: inside the service node this entry helps:
       <manifest>
                       <application>
                               <service
                                       android:name="de.appwerft.autofillservice.TiAutofillService"
                                       android:label="TitaniumAutofiller"
                                       android:permission="android.permission.BIND_AUTOFILL_SERVICE">
                                       <intent-filter>
                                               <action android:name="android.service.autofill.AutofillService" />
                                       </intent-filter>
                               <meta-data >
            <!-- this line binds the content of app.js into app-->
                          <autofill-service android:settingsActivity="org.appcelerator.titanium.TiActivity" />
                               </meta-data>    
                               </service>
                       </application>
               </manifest>
       

JSON Source