WKWebView can't access camera on Iphone but no problem on Ipad - ios

I'm trying to open a React app that accesses the camera app using WKWebview. The application asks for the necessary permissions when opening because the following part is available in my Plist file.
"Privacy - Camera Usage Description"
However, the problem I have is that the application works successfully on Ipad but not on Iphone. The iphone app just produces a black screen. What could be the reason why the same application works on Ipad and not on Iphone?

Related

Screen Sharing in iOS using opentok

Hello i am using opentok for screen sharing.Everything is working fine but one issue is i am facing it works correctly in iOS simulator mean screen is sharing perfectly but in real iOS device screen is not sharing black screen is appearing on other device.
When using screen sharing you can share the contents of a given UIView inside your application. Due to iOS security restrictions you cannot share the content of any other view outside your application. (If you send your application to the background the other end will receive a black screen since the view you are sharing is not longer being rendered)
Please take a look to the screen sharing sample for more details: https://github.com/opentok/opentok-ios-sdk-samples-swift/tree/master/Screen-Sharing

Rear camera is not working in Ipad in Xamarin forms App

I am using Xam.Plugin.Media to access camera and photo gallery in my Xamarin forms app.
Its working in IPhone and in Android devices but not working in IPad with latest ios version 10.3.
The Screen will be freezed when I am calling the function to open Camera.
I tried other plugins also but the same issue.
Front Camera is working but Rear camera is not working.
I found the fix for this issue in below links.
https://github.com/jamesmontemagno/MediaPlugin/issues/173
Application freezes when trying to present rear camera on iPad
Actually I was using this code
UISlider.Appearance.MinimumTrackTintColor = UIColor.Red.ColorWithAlpha(100);
to configure some appearance of UISlider in ios. It was causing the issue.
By removing these lines, camera is working fine in both iphone and Ipad.

iPhone - How to launch photos app like default camera app?

I'm developing iOS 3rd party camera app.
I really want to make "previewing function" like default camera app below
I've tried UIImagePickerController but, it is not what I want

Capture image using Camera with iOS and appium

I am automating a test where we need to launch camera app , and capture some images/videos. Those captured images/videos will be saved in media library.
Now Since
1. On real iOS device we can not automate camera app using appium, I thought to write and iOS app which will launch Camera , till this step it is fine, I could launch camera but the capture button not be clicked using appium.
Do we have any other way to launch a camera on iOS device using appium and capture some images ?
Part of Apples security model is the Sandbox. You can only play within your own sandbox. Since the camera app is it's own entity you will not have any control over it once it is launched and can not provide testing code to control it.
You will need to either write your own camera control module which you can then control to take pictures using your test tool or you can pre-populate the device with your required images.

Apps does not show up in iPad

Hi All,
I have created an iPhone Application and have uploaded it in the Appstore. But when I search the app in iPad, it shows up in the search results, but does not open up the Application related information in the screen. It does not show up the screen to install the app in iPad.
It works fine in iPhone. But not in iPad.
Please help me....!!!!!
Check this post: How can I restrict my app for iPhone's only, excluding iPod touch?
It may happen due some restrictions you put in your project, for example "telephony" device capability will restrict the app from running on iPad and the application will not be even listed in the iPad app store.

Resources