I can't query in WebView context - css

I'm facing a problem right now, and I need some help.
I have a native app that displays in some point a webView, the class for this webView is called: org.xwalk.core.XWalkView. I'm developing in Windows and running calabash-android console, but when I use any of this commands:
query("webView css:'' ") or query("XWalkView css:'' ")
I'm unavailable to get any object from that webview. Is this an abnormal behavior? What should I do to get the css values?
Thank you so much.
Cheers.
PS: calabash-android version 0.4.20

Upgrade you Calabash-Android version to the latest one. 0.4.20 is a very old release and does not support crosswalk webviews.

Related

FirebaseDynamicLinks.Instance is null after update from 60.1142.1 to 71.1615.0

I was using FirebaseDynamicLinks in my Xamarin forms project (everything works fine) and I decided to update my nuget packages.. but after I update Xamarin.Firebase.DynamicLinks (and all dependencies) I got null after calling FirebaseDynamicLinks.Instance.
There was some major changes? Do I need to modify my code somehow after this update? Thanks for any help!
I found this in logs, so my google-services.json should be right, right?
FirebaseInitProvider: FirebaseApp initialization successful
Xamarin.Android SDK Version: 9.3.0.23
Operating System & Version: Win 10, 1803
So if not necessary now, suggest downgrading to previous version of Xamarin.Firebase.DynamicLinks. Maybe there are something not incompatible or new methods not be used correctly.

LoadApplication(new App()) fails TypeLoadException in Xamarin Forms Acr.UserDialog

I migrated my Xamarin.Forms app from Portable to .NET Standard because I need to add a function that requires the upgrade. I [finally] got everything to build, now when I start up either the Droid or iOS project, my app throws a
TypeLoadException
I was under the impression this worked a lot smoother than it actually does. I need to get back to my original task which was adding the new functionality but I have to get the thing running first. I could really use, and appreciate the help.
Thanks!

Xamarin.Auth AccountStore - KeyStore was not initialized

I've had this Xamarin.Auth AccountStore working in my app for a while, but then decided to do some updates to some Nuget Packages and Target Android versions >_<
I now have no idea what went wrong and how to get it working again, here is the exception:
Java.Security.KeyStoreException: KeyStore was not initialized
The code is pretty simple and looks like this:
var accountStore = AccountStore.Create(Android.App.Application.Context);
var accounts = accountStore.FindAccountsForService(providerName);
The 2nd line is throwing the exception.
This is in the Android project, being called from a PCL DependencyService.
It has been working this way for a while, I guess something changed in a version update in one of the packages but I don't know what, any ideas?
try to repair your visual studio installation.
This made the trick for our project. We had the same problems like you.

ERROR ITMS-9000: “No architectures in the binary"

I am getting an error trying to upload an app to the iOS store.
The application was developed using FlashBuilder 4.7 and Flex 13.0.
ERROR ITMS-9000: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
Does anyone have any ideas as to what this error is? Any help would be appreciated.
Thanks.
Try to fix your application.xml:
<iPhone>
<InfoAdditions><![CDATA[...
<key>MinimumOSVersion</key>
<string>6.0</string>
]]></InfoAdditions>
I found solution of my question after lots of try. After updating an air sdk still I got this issue.
Solution of this issue is simple.
We don't need to use any digit in app Id.
for example:
App was not submitteds app id contains digit like com.adobe.sample.7th
then I created new app having app id like com.adobe.sample.seventh and I was able to submit this app to store.

Get Published XBAP version in C#

I have an XBAP currently published on my local machine, which has an 'About' canvas build into the XMAL, of which I want to show the published version number, but I can only seem to get the assembly version number. Any suggestions?
First make sure you add the following assembly to your project references: System.Deployment. Then you can access the current version like this:
using System.Deployment.Application;
...
if (ApplicationDeployment.IsNetworkDeployed)
VersionTextBlock.Text =
ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();
CurrentDeployment is null when you debug locally, so you can use IsNetworkDeployed to only retrieve the version info when you run from the published location.
With .NET 3.0 I'm using
Version ver = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
I've seen somewhere saying to use:
System.Deployment.ApplicationDeployment.CurrentVersion
But when using System.Deployment there appears to be no System.Deployment.ApplicationDeployment available to be accessed!
This may not be a solution but may point in the right sort of direction. If someone uses this already maybe they can shed some more light on the matter.

Resources