I want to use local notification in IBm mobilefirst studio 7.0
tried the plugin https://github.com/katzer/cordova-plugin-local-notifications and worklight project
https://www.dropbox.com/s/58urdluauc8u3l1/AndroidLocalNotifications.zip
unfortunately both are not working
Don't you think you should have mentioned where you got that project/.zip from?
That project was implemented by me, and it is fully explained here: Using katzer local notification in IBM Worklight
You need to follow the instructions.
You need to also google a bit: https://developer.ibm.com/mobilefirstplatform/2015/08/03/integrating-3rd-party-cordova-plug-ins/
Related
I'm currently testing IBM MobileFirst Platform 8.0 app authenticity feature for both Android and iOS environments, and Android version works fine with all the required setting and procedures but iOS version does not seem to work under the following environment and procedures:
IBM MobileFirst platform v8 running on Bluemix ver 8.0.0.00-20161122-1902
cordova-plugin-MFP 8.0.2016110713
Test app: MFPStarterCordova
The app is archived into ipa file and authenticity_data file is generated using mfp-app-authenticity-tool.jar too for the ipa file. The authenticity file registration and related security check (appAuthenticity) setting are done correctly on Console, and I installed the ipa on a (real) iPhone device. (The app successfully connects to and gets token from the server as expected)
I changed a bit of html code - e.g. simple string value - and reinstalled the changed ipa on the iPhone device, but the server does not seem to check / detect the change, under the setting I did with the original app. - i.e. The changed app connects to and gets token from the server successfully.
Is there anything else to be configured or to change to make the feature work on iOS?
Use new version of Application Authenticity(i.e Dynamic Application Authencity) which is more advanced and easy to use in MobileFirst Platform Foundation 8.0.
Upgrade your Client SDK and Server to the latest iFix level to get the feature.
More details about Dynamic and Static Application Authenticity feature can be found here.
I have been trying to use cordova-plugin-screen-orientation 1.4.0 "Screen Orientation" in my mfp cli cordova project, but it never works
I have used the exact same code outside of the mfp platform and it works just fine
any known issues with this?
Looks like there may be a defect with the mfp cordova integration that prevents the plug-in from working as advertised. You will need to open a PMR (support ticket) in order for the development team to further investigate it. If you choose to open it, please mention the PMR number.
some where on Xamarin forum i found that i did not had android>>BuildTool>>19.0,19.3 and all that. so i open up and installed all these pakages. But now i open visual studio and open project (Android App) this exception is comming on Main.axml
Exception:
The Android SDK could not be found. Make sure the path to the SDK is correctly configured in the Xamarin studio option and that you have installed the plateform tools and atleast one plateform SDK.
Please help me getting out of this exception .
Thanks!
Looks like you're missing the Android NDK. After the installation, if still doesn't work, try to double check the parts Java JDK (32 bit), Android SDK For more information check over here.
Try to change SDK path in Visual Studio Tools->Xamarin to:
"...Android SDK in a AppData folder that's hidden from the user"
Xamarin Forum which helped me
I have been trying to implement Google Play services using the steps in https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2 and https://github.com/xamarin/monodroid-samples/tree/master/GooglePlayServices
android update project -p "path to project" -t 4 worked
ant debug works, updated project.properties, add Api key
However on build in Xamarin studio 4.0.3 on Mac get this.using Xamarin android 4.6. what package is missing. any advice appreciated. am referencing Mono.android,support.v4
/Users/TheCall/MapView/Components/googleplayservices-9.0/samples/GooglePlayServicesApp/GooglePlayServicesApp/obj/Debug/android/src/mono/com/google/android/gms/appstate/OnSignOutCompleteListenerImplementor.java(34,34):
Error: package com.google.android.gms.appstate does not exist
com.google.android.gms.appstate.OnSignOutCompleteListener (GooglePlayServicesApp)
I suggest that you should use Google Play Services from http://components.xamarin.com/.
Steps:
Check your Google Play Services API in Android SDK Manager. If it's not rev. 12, update it. If thats not possible then check your revision, and find the appropirate component from Xamarin. They support rev. 9, rev. 10, and rev. 12. If you want to support older devices, download the Froyo version.
Download this component if you are updated to rev. 12: http://components.xamarin.com/view/googleplayservices12/
Unzip it, and reference the downloaded DLL in your project.
Use it like this: http://components.xamarin.com/gettingstarted/googleplayservices12
I'm trying to build my wp7 project under vs2012 express for wp. It uses the ad sdk, but I am getting the following errors:
Error 7 The name "AdControl" does not exist in the namespace
"clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=
Microsoft.Advertising.Mobile.UI".
Does anyone know why?
CLARIFICATION - i'm not trying to upgrade my project to wp8 at this time --- just trying to build for 7.1 like before using the new sdk.
Should I be also installing the old 7.1 phone sdk?
http://www.microsoft.com/en-us/download/details.aspx?id=27570
Thanks
I ran into this problem - deleting the Microsoft.Advertising.Mobile.UI reference from the project and readding it and a reference to Microsoft.Advertising.Mobile fixed it for me.
you can check on the following things:
Check whether you updated the target phone framework to "Windows Phone 8.0 OS"
check if you can see yellow exclamation icon in Advertising SDK dll in references folder in Solution Explorer. if yes, then delete that reference and add the reference again to advertising sdk dll from "Add Reference" dialog box.