[AC-6249] Autofillservice hide UI
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Done |
| Resolution Date | 2019-06-10T23:49:02.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Rainer Schleevoigt |
| Assignee | Shak Hossain |
| Created | 2019-05-10T14:45:58.000+0000 |
| Updated | 2019-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?
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>