File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1187,7 +1187,11 @@ export class WidgetAndroidCommand extends WidgetCommand {
11871187 android:resizeMode="${ resizeMode } "
11881188 android:updatePeriodMillis="0"
11891189 android:widgetCategory="home_screen"
1190- ${ enableWidgetFeatures ? ' android:widgetFeatures="reconfigurable|configuration_optional"' : "" } />${ EOL } ` ;
1190+ ${ enableWidgetFeatures ? 'android:widgetFeatures="reconfigurable|configuration_optional"' : "" } >
1191+ <meta-data
1192+ android:name="org.nativescript.widgets.MANAGED_WIDGET"
1193+ android:value="true"/>
1194+ </appwidget-provider>${ EOL } ` ;
11911195
11921196 fs . writeFileSync ( widgetInfoPath , content ) ;
11931197 }
@@ -1264,9 +1268,6 @@ ${EOL}`;
12641268 <intent-filter>
12651269 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
12661270 </intent-filter>
1267- <intent-filter>
1268- <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
1269- </intent-filter>
12701271 <meta-data
12711272 android:name="android.appwidget.provider"
12721273 android:resource="@xml/ns_${ name } _widget_info" />
You can’t perform that action at this time.
0 commit comments