Skip to content

Commit 10809d1

Browse files
Merge pull request #2040 from NativeScript/vladimirov/fix-custom-android-manifest
Fix using of custom AndroidManifest.xml
2 parents 97ad56b + af8453f commit 10809d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
533533
isFileCorrect = !!(~fileContent.indexOf("android:minSdkVersion") && ~fileContent.indexOf("android:targetSdkVersion")
534534
&& ~fileContent.indexOf("uses-permission") && ~fileContent.indexOf("<application")
535535
&& ~fileContent.indexOf("<activity") && ~fileContent.indexOf("<intent-filter>")
536-
&& ~fileContent.indexOf("android.intent.action.MAIN") && ~fileContent.indexOf("com.tns.ErrorReportActivity")
536+
&& ~fileContent.indexOf("android.intent.action.MAIN")
537537
&& ~fileContent.indexOf("android:versionCode")
538538
&& !this.$xmlValidator.getXmlFileErrors(pathToAndroidManifest).wait());
539539

0 commit comments

Comments
 (0)