I have existing React-Native app. I need to create Safari browser extension for iOS and MacOS Safari browser. For extension, I have React.js project for other browser extension. Now I have tried to convert it into Safari extension and It is working fine. But what if I have to add Extension target to existing React-Native app? Which steps I need to follow to add target to iOS app?
Can you please guide me on this? Thank you in advance.
Related
here is my question.
I created my react native app with expo. Today I needed to open my project with xcode, but when I tried to open Xcode give me an error that´s not possible to open the folder.
Any know why?
I am trying to find my Xcode project file inside React Native so I can setup React Native Firebase (https://rnfirebase.io/docs/v5.x.x/installation/ios)
However, I cannot find where the Xcode project file is? Can anyone help.
You can find Xcode project files here:
yourProjectDir/ios/yourprojectname.xcodeproj
If You use cocoapods then you should always use this file:
yourProjectDir/ios/yourprojectname.xcworkspace
If you use Expo or create react native app you will not have an iOS folder as these are abstracted away from you.
If you wish to use a dependency that requires you to edit native code then you need to eject your application. https://docs.expo.io/versions/latest/expokit/eject
From your command line run expo eject and it will build the necessary ios and android folders for you. However there are several ramifications if you eject your app. You should read the above link carefully.
YourRNProject/ios and there you have it inside!
Open your react native folder
you can see ios folder
this folder is what you search for
I am trying to debug the iMessage extension in Xamarin iOS project.I added the iMessage extension to my existing project and developing the extension project.
In my googling I found the debugging the iMessage Extension in Xcode from this link http://easynativeextensions.com/how-to-debug-your-ios-extension/
But It not worked in Xamarin.
I am unable to Debug the extension and even not able to see the application output(Console.WriteLine()).
Please provide steps to Debug/See Logs of iMessage Extension in the Xamarin iOS.
Thanks,
Harikrishna.
I created a Cordova app using the 4.3.0 version and the project for an iOS project.
Whenever I open the index.html (www folder) file in a desktop browser, it gets stuck in an infinite loop requesting gap://ready.
Why is this happening? How can I solve it?
Thanks a lot.
EDIT AND UPDATE:
The iOS app was not working because there was a plugin missing: https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.md
I added it, then build the project again, and it worked.
You can't test an iOS project on a regular browser, if you want to test on a browser, add browser platform
cordova platform add browser
then
cordova run browser
Don't do this way. Make your site in normal way using XAMPP/WAMP. Copy all the same code and folders. Then Check it. Whatever you make change in XAMPP Site, update it in PhoneGap. It is easier this way.
Both answers wrong. The most correct way is run in your phone simulator or actual device.
For android
cordova emulate android
For ios you need a Mac machine and Xcode.
A hybrid app was developed using Drupalgap cordova for iOS. The project is named ExampleApp, as followed by a tutorial, and once started in Xcode (5 and 6) the app works well in iOS simulator. Now I need to rename the app to a custom name to put it for submission in the App Store, but once I do that in Xcode, the app breaks. I followed the official Apple Support page to do that and the one here on stackoverflow with no luck. The app is present on iOS iPhone simulator dashboard with the icon and a new name, but once it starts loading the splash screen, it breaks as soon as it loads it. What is the best way to resolve this problem?
Here's what I would do:
use the PhoneGap Command Line Interface to create a new "official" project: cordova create OfficialApp com.official "OfficialApp"
add the iOS xCode project files: cordova platform add ios
install the DrupalGap SDK on top of the empty project
copy the www/app folder from ExampleApp into your new empty project's www/app folder
prepare/build the app from the terminal
test in xCode simulator
Be sure to replace any custom modifications you had to the index.html file of your new Project. More info: http://drupalgap.org/node/193
Each step of the way, I'd recommend doing a prepare/build via the terminal and then launch the app via xCode to verify PhoneGap works out of the box, then DrupalGap works out of the box, then drop your app on top and run it.
If these steps don't work, I'd recommend opening up an issue in one of the queues:
http://www.drupalgap.org/support