I have a serious question that I didn't find the answer to.
I have a Flutter app and needed to use a dependency and in its docs, it says this
Setup iOS Info.plist And the docs have this code:-
<key>io.flutter.embedded_views_preview</key>
<true/>
Where is that file? I can't seem to find it! Also if it doesn't exist can you help me create it in the right path? Thanks in Advance
The link to the DOCS for more information:- https://pub.dev/packages/easy_web_view#-readme-tab-
The info.plist file is found in the IOS module of your flutter project(ios/Runner/info.plist):
If you have Xcode, you can just right click on your root directory and click on Flutter --> Open ios module in XCode.
Once you do that Xcode will open up and you'll clearly see the info.plist file under the Runner file:
Related
I found already lots of answers regarding the 'missing CFBundleIconName' issue, but not how to fix it for ionic projects. That needs to be configured in their config.xml, but how, what and where? It's an ionic version 1 project. Upgrading to v2 is not an answer nor solution.
Missing Info.plist value - A value for the Info.plist key
CFBundleIconName is missing in the bundle 'foo.bar.sheep'. Apps that
provide icons in the asset catalog must also provide this Info.plist
key
I had this problem when I uploaded the IPA file created with robovm
here is how I solve it :
Modify your iOS project's "Info.plist.xml" file.
Under "dict" node, add like this:
I am new in appium automation. When I open appium and selecting .apk file the packagename and acticity is showing as empty. Please help me to solve the issue .Running appium in windows. Appium version 1.3.4.1
In my experience, the Appactivity and apppackages aren't populated until you actually launch a session with that .apk (via inspector is the easiest way). In addition, if you just want to know those values of the app, you can check it via monitor.bat, filtering "com" in the console log, and looking for the appropriate activites
Maybe your apk file is incorrect? You may try to decompile it, using apktool.
Usage:
apktool.bat d path-to-apk-file.apk
Apktool will generate folder, open it and go to Manifest file. Look for tag named "activity" and "package". Example manifest:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.my.package.name">
<application>
<activity android:name="com.example.activity">
</activity>
</application>
</manifest>
Please check "aapt.exe" is available under SDK 'tools' or 'platform-tools' section, Appium uses "aapt dump badging apkpath" to get APK information.
If yes then set path variable.
You can also receive all information about.Apk using above command.
I hope it helps.
Please use
aapt.exe dump badging (In Windows)
./aapt dump badging (In Linux/MAC)
for getting relevant package and activity from the app.
Or better use "app" property in DesiredCapability to directly specify app's URL or absolute path.
Hello you must select the button of Application Path in first.
And make empty the fields of the application path.
And put again the path to your apk file.
Best regards.
Solution for Android
Good way to get AppPackage and AppActivity is to use the apkInfo App.
To do so
Download the apkinfo app from playstore on the same mobile on which you have installed the app under test.
Open apk info app and select the app under test from the list ( You can also search for the app).
Once you got the app, long press on the app and select "detailed information" which shows the app package and all the Activities.
I have listed all of these steps with screenshots here on my blog:
#prasanth, Please upgrade the version of your appium because newer version have this feature. try appium 1.3.7.2 and onwards. It will work.
I want to implement push notification for Cordova.
I'm following this tutorial
And also downloaded the sample project
But I am unable to find Cordova.plist/Cordova.plist and don't have knowledge to configure this.
If somebody has already worked on this, please help on this point
Any type of suggestions and advice are welcome at this stage
That appears to be a typo.
It should be in the folder of the same name as your app in your project folder.
If your app was called MyCoolApp and it was in the MyCoolAppProject folder, say... the plist file would be:
MyCoolAppProject/MyCoolApp/Cordova.plist
However, as of 2.3.0RC1, Cordova.plist has been superseded by config.xml
there are no more .plist file in cordova, add your plugin to config.xml
Is it possible to have Eclipse Juno display at retina resolution? I was able to edit info.plist for previous versions of Eclipse, but this does not work with Juno...
Open the <Installation Directory>/Eclipse.app/Contents/Info.plist with a text editor and add the following before </dict>:
<key>NSHighResolutionCapable</key>
<true/>
If you open the Info.plist file with Xcode it should look like that:
Now make a copy of the Eclipse application (Eclipse.app). You can copy it to the same directory it already is; this step is required just to make the OS reload the changes in the Info.plist file.
Force update the Info.plist in the Terminal by using the lsregister command:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/eclipse/Eclipse.app
There is an app called Retinizer which will convert Apps to Retina mode. Easier. Only really works for fonts though.
http://retinizer.mikelpr.com
After updating High Resolution Capable to Yes in plist, make a copy of the app.
I downloaded the code from https://github.com/facebook/facebook-ios-sdk
But none of the sample projects compile in Xcode. I have read the readme.txt and it doesn't help.
The error is: 'FacebookSDK/FacebookSDK.h' file not found
There is no folder called FacebookSDK, it's actually called src. When I change the code to say src the new error is: ld: framework not found FacebookSDK
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone download the code and get the samples to work?
I wrestled with this same problem for a while before discovering that there is a not-so-obvious file that is supposed to be downloaded and installed (versus just getting the ZIP file and its contents). The file is called FacebookSDK-3.0.pkg and I found it at:
http://www.google.com/url?sa=t&rct=j&q=facebooksdk-3.0.pkg&source=web&cd=1&ved=0CEgQFjAA&url=https%3A%2F%2Fgithub.com%2Fdownloads%2Ffacebook%2Ffacebook-ios-sdk%2FFacebookSDK-3.0.pkg&ei=Mg8kULzOLofgiALg14DwDQ&usg=AFQjCNF0i0Vkq_cPsOvfrs5nb_IOUR6XhA&sig2=kERJcdvR7UgAB6mr-RUi6w
(first link provided when searching for the filename)
I installed it and the samples work fine now.
Facebook SDK 3.0 for iOS with samples
For more details https://developers.facebook.com/ios/
If you install the package to another location besides ~/Documents, you need to change the Framework Search Path for the sample projects.
When you open the project up in XCode, click the project info (e.g. blue "HelloFacebookSample" in the file browser.
Go to the Build Settings tab.
Under the "Search Paths" section, find "Framework Search Paths".
Doubleclick the value and you'll see an entry that is like:
$(SRCROOT/../../../../Documents/FacebookSDK
Double click that value and change it to point to the destination folder where you placed the SDK.
In my case, I installed the SDK to /Dropbox/SDKs/FacebookSDK so I changed the value to
$(SRCROOT/../../../../SDKs/FacebookSDK
(the 4 ../ are because it's relative to the HelloFacebookSample project)