Skip to content

Commit

Permalink
Init deep link stuff even if feature not activated Fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marchand committed Aug 19, 2023
1 parent 4feab66 commit 5067357
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ProjectEditor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ class ProjectEditor(projectEditorFile: File, val catalogDef: CatalogDef, isCreat
deepLink = jsonObj.getDeepLinkScheme()
universalLinkWithBundleId = jsonObj.getUniversalLink(findJsonString("bundleIdentifier"))
universalLinkWithoutBundleId = jsonObj.getUniversalLink("")
} else {
deepLink = DeepLink(scheme = "", enabled = false)
universalLinkWithBundleId = UniversalLink(host = "", scheme = "", pathPattern = "", enabled = false)
universalLinkWithoutBundleId = UniversalLink(host = "", scheme = "", pathPattern = "", enabled = false)
}

}

} ?: kotlin.run {
Expand Down

0 comments on commit 5067357

Please sign in to comment.