App Widget not listed in google now launcher widget list in Nexus 5 (Android 5.1.1) -


i have app has widget along it. works fine devices except nexus 5. widget not listed in widget list of nexus 5's google launcher. have tested installing app on nexus 7 (android 5.1.1) same google launcher , widget shows in list.

i have seen similar bug filed google launcher, here mentioned on device reboot widget showing up. strangely though doesn't work me. have installed custom launcher(nova launcher) , tested scenario , widget shows without problem.

here code below config xml

<?xml version="1.0" encoding="utf-8"?> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"     android:minwidth="350dp" android:minheight="133dp"     android:updateperiodmillis="3600000"     android:previewimage="@drawable/ic_launcher"     android:initiallayout="@layout/ana_app_widget"     android:resizemode="none"     android:widgetcategory="home_screen|keyguard"     android:initialkeyguardlayout="@layout/ana_app_widget">     </appwidget-provider> 

here manifest.

<receiver android:name=".appwidget">     <intent-filter>         <action android:name="android.appwidget.action.appwidget_update" />     </intent-filter>      <meta-data         android:name="android.appwidget.provider"         android:resource="@xml/ana_app_widget_info" /> </receiver>  <service     android:name=".stackwidgetservice"     android:permission="android.permission.bind_remoteviews"     android:exported="false">  </service> 

any appreciated.


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -