Skip to content

Commit 2754b14

Browse files
authored
Merge pull request #2041 from NativeScript/vladimirov/cherry-pick-manifest-fix
Fix using of custom AndroidManifest.xml
2 parents 035b9b1 + aaa3717 commit 2754b14

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)