TestFlight now is officially available in the Mac App Store. How to utilize it for electron Apps?
Post
Replies
Boosts
Views
Activity
I would also like to know how:)
I am currently implementing this method with difficulties.
Its an Cordova Application. The method gets called, I call the decisionHandler with WKPermissionDecisionGrant, there is no Prompt in the Application, but I don't get any audio from the devices mic. I also don't see the orange dot on top which indicates microphone usage.
When I change the value of the decisionHandler to WKPermissionDecisionPrompt it works, however it is back to the annoying behaviour that always asks the user for consent even though he has given it a day (or so) ago.
I am working with Xcode 14 RC and iOS/iPadOS 15 RC
Here is the source Code:
- (void)webView:(WKWebView *)webView requestMediaCapturePermissionForOrigin:(WKSecurityOrigin *)origin initiatedByFrame:(WKFrameInfo *)frame type:(WKMediaCaptureType)type decisionHandler:(void (^)(WKPermissionDecision))decisionHandler {
decisionHandler(WKPermissionDecisionGrant);
}