Skip to content

Commit d669791

Browse files
Do not consider App_Resources/Android as plugin
Currently when `app/App_Resources/Android` contains AndroidManifest.xml or include.gradle, we treat the folder in a specail way and copy it on two places. This will be handled from the runtime itself, so no need to do it anymore.
1 parent fe158cf commit d669791

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/services/android-project-service.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
284284
}
285285

286286
public processConfigurationFilesFromAppResources(): IFuture<void> {
287-
return (() => {
288-
// Process androidManifest.xml from App_Resources
289-
let manifestFilePath = path.join(this.$projectData.appResourcesDirectoryPath, this.platformData.normalizedPlatformName, this.platformData.configurationFileName);
290-
if (this.$fs.exists(manifestFilePath).wait()) {
291-
this.processResourcesFromPlugin("NativescriptAppResources", path.dirname(manifestFilePath)).wait();
292-
}
293-
}).future<void>()();
287+
return Future.fromResult();
294288
}
295289

296290
private processResourcesFromPlugin(pluginName: string, pluginPlatformsFolderPath: string): IFuture<void> {

0 commit comments

Comments
 (0)