ios improvements
This commit is contained in:
parent
bc962f2e65
commit
119ae86ec4
@ -21,9 +21,12 @@
|
||||
name: {{=it.product.bundleName}}
|
||||
targets:
|
||||
{{=it.product.bundleName}}:
|
||||
{{?it.ios_make.supportedDestinations}}
|
||||
supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}}
|
||||
{{??}}
|
||||
platform: [iOS]
|
||||
deploymentTarget:
|
||||
iOS: {{=it.ios_make.deploymentTarget}}
|
||||
{{?}}
|
||||
deploymentTarget: "{{=it.ios_make.deploymentTarget}}"
|
||||
type: application
|
||||
sources:
|
||||
- path: src
|
||||
@ -37,14 +40,19 @@ targets:
|
||||
{{?}}
|
||||
info:
|
||||
path: Info.plist
|
||||
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || (it.ios_make && it.ios_make.infoProperties)}}
|
||||
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}}
|
||||
properties:
|
||||
{{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}}
|
||||
NSMicrophoneUsageDescription: Need audio input for processing sound
|
||||
{{?}}
|
||||
{{?it.ios_make && it.ios_make.infoProperties}}
|
||||
{{?it.ios_make.infoProperties}}
|
||||
{{~it.ios_make.infoProperties :p}}
|
||||
{{=p.key}}: {{=p.value.toString()}}
|
||||
{{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}}
|
||||
{{~}}
|
||||
{{?}}
|
||||
{{?it.ios_make.launchScreen}}
|
||||
UILaunchScreen:
|
||||
UIColorName: {{=it.ios_make.launchScreen.colorName}}
|
||||
UIImageName: {{=it.ios_make.launchScreen.imageName}}
|
||||
{{?}}
|
||||
{{?}}
|
||||
|
@ -69,7 +69,7 @@ struct WebView: UIViewRepresentable {
|
||||
let configuration = WKWebViewConfiguration()
|
||||
configuration.userContentController.addScriptMessageHandler(Coordinator(), contentWorld: .page, name: "listener")
|
||||
let webView = WKWebView(frame: .zero, configuration: configuration)
|
||||
webView.isInspectable = true
|
||||
//webView.isInspectable = true
|
||||
return webView
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"ios": {
|
||||
"productBundleIdentifier": "com.example.tibia_test"
|
||||
"productBundleIdentifier": "com.example.tibia-test"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user