iOS Push Notification SDK for Cordova - iphone

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

Related

How to change/add/edit Info.plist in Flutter

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:

Ionic1 CFBundleIconName Info.plist missing?

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:

Appium in windows

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.

Copying facebook-ios-sdk and configuring the Xcode project

I have gone through this document :Getting Started with the Facebook SDK for iOS v3.1
I have successfully configured my Xcode project by following it.
But I want to do it without adding the Facebook.framework.
As previously we used to only add the "src" folder which we used to clone from :Facebook SDK for iOS - Github. Why can't I just copy the "src" folder and configure my project.
I want to play around with FBFriendPickerViewController.m (dot m) file. Which I am not able to view if I follow the standard tutorial. But is available in the "src" folder.
Please how can I do that ? And it also seems that FbGraph.h file doesn't exist.
Please help.
If you want to play with the source, go to:
https://github.com/facebook/facebook-ios-sdk/
After getting the code, run this script to build the framework locally:
<Install Location>/scripts/build_framework.sh
This will drop the framework in the folder:
<Install Location>/build
Follow the same instructions in the Getting Started to include the Facebook SDK, however, you will get the framework from your local build folder.
Note: You'll likely have to modify the build search path in Xcode if you're swapping out, say one of the sample projects (that was looking for the Framework in a particular place).

Missing WWW folder Cordova/PhoneGap iOS

After downloading and installing Cordova/PhoneGap, I created a new xCode project.
After trying to follow the get started guide I cam to find that I have no 'www' folder to copy into xCode!
Am I going wrong somewhere?
(source: jonweb.co.uk)
(source: jonweb.co.uk)
You need to run the app once, the www folder will be created in your directory. You then just need to drag it into XCode to tell your project about it
did you start with 'Cordova-based Application'?