How can create simulator build of application which uses camera? - objective-c

I have developed one application in which camera is used. App uses camera for video recording and also my app is totally based on camera. Now I have to submit app for Facebook review as I have used FacebookLoginSDK.
Facebook App review requires simulator build, but all you know how can we access camera in simulator ?
So how can I show my app to Facebook ?
I have referred below guidelines :
http://king107.blogspot.in/p/how-to-create-simulator-build-and-run.html
Creating an iOS Simulator Build of Cocoapod project
My build is created successfully, but the problem is cannot access camera.
If anyone have alternate solution, then please let me know.

As of now, there's no way you can test camera function of your app if you're using a simulator.
The best solution is to get an iOS device, borrow from someone you know that owns iOS devices.
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/TestingontheiOSSimulator/TestingontheiOSSimulator.html

Related

Expo: Remove iPad support on non published app

I'm completely new to React Native, Expo and App development in general.
I'm building a React Native app solely for iOS using Expo. I've finally managed to finish a version I'm happy with, tested with users etc. I've now been spending time adding all the required screenshots, text, info etc to App Store Connect in order to submit the app. While doing that, I learned that iPad app screenshots was mandatory, which I found weird.
I later found that I had "supportsTablet: true" in my App.json file, so it makes sense that it's expecting iPad pictures. After changing this and making a new build and submitting that, it's still a requirement.
After Google a bit I can see that it has been impossible to change this:
Removing iPad support from app
iOS App Submission : remove iPad support
iOS App Submission want to remove iPad support
This led me down the road of trying to upload the app as a new submission. I can't get this to work though. According to this documentation:
https://developer.apple.com/library/archive/qa/qa1623/_index.html
I should change bundle identifier and upload again. Changing this in app.json under expo.ios.bundleIdentifier doesn't work though, as I just get an error that I've already uploaded this app previously.
What are the steps I should do to reupload the app as a new submission, so that I can not support iPad?
In order to upload a new version, you must increase the version and the build number. You can find this if you open the project in Xcode under the General tab and the Identity section. In the same tab, you will see the Deployment Info section where you can untick the iPad. Check the picture attached.

Screenshot Lock not working in React native app on iOS devices

We want to lock screenshot on app screens in React Native app so that user is not allowed to take the screenshot. The feature is implemented successfully in android version of the same React Native app. But it is not working in iOS app which is published to app store. I have also tried react-native-prevent-screenshot plugin but that is also not locking screenshot in iOS version. I even implemented blurred view on appDelegate.m file to prevent screenshot capture in app, but even this did not have any impact. Can someone tell if Apple has banned this feature completely or there is possibility of some issue in coding. But I rule that out because it is working successfully in android apk. Please help

I runned a react native app in different devices. But I got a different result

I runned a react native app in different devices.A device is iOS 9 and another is iOS 10. The device iOS 9 will encounter a error that could not connect to development server.The device iOS 10 can run successfully.I use react native 0.4.1. I will show you more informations if you need. I don't know what should I show.And you can tell me some ideas if you know some possible reason
I believe all the devices must be connected to the same Apple Developer account. Check if both of your devices have the same Apple ID and try to run them through Xcode.
Also make sure you follow all the steps in these guides
Running On Device
Launching Your App on Devices
If it doesn't work but you are still able to install the app, try to run the app with Wi-Fi while being on the same network as your mac, here is the guide on how to do that
Cheers!

Deep linking:different behaviour on different ios devices?

My question is that i have embedded deep linking in my ios application. It is successfully opening my ios app from facebook app on iPhone 5c but it is not working on iPhone 6 plus,it is just redirecting to app store while my app is installed in the device.
Can someone tell me why there is difference of behaviour of deep linking on different devices.
Both the devices have same version 9.3.2
Thanks in advance
If you are using Universal Links for this, it's possible you inadvertently disabled them on one of the devices. Try pasting the link into your default iOS Notes app, long-pressing on it, and selecting Open in [app]

How can I see why titanium app crashes on Blackberry simulator

I do a Titanium application that woks on iOS and android. Now, I want to create the Blackberry version.
I've tried with a simple app and it's launched well at simulator, but when I've tried my app it doesn't work.
It launches splash screen and begins to load the elements, but I think the app crash because simulator returns to main screen, there isn't any alert (like on android when app stop unexpectedly), it only returns to main screen.
My problem is that I don't know what happen and I can't find any error logs...
I connect by telnet to the simulator, and there I can see the first traces of my app, but any error.
Do you know what can be happened? How can I know if I have an error? How can I know if my app has crashed?
Sorry, if it's an easy question, I'm newbie at Blackberry.
I'm using Titanium SDK 3.2.2 and Blackberry SDK 10.02
Thank you very much
I've created a new project (with Titanium SDK 3.1.3 instead of Titanium SDK 3.2.2) and copy all files there. I've tried to launch the app many times, and one of them, the app launches.
Maybe it was a computer or simulator problem.