how to work with google license verification library in apportable - apportable

I am converting my iOS app to android using apportable, I need help implementing google play licensing into my code, I am confused about how to include google play license verification library (LVL)into my code. I know how to call java code using Bridgekit but how will I include LVL, because when we work in eclipse we need to download and install Google Market Licensing package from sdk manager.
what steps do i have to take to include LVL into my project and start coding

The Apportable platform already includes the required LVL libraries, since they are required for the Google Expansion Files feature.
You should be able to follow all the other steps in the docs: http://developer.android.com/google/play/licensing/index.html
For more info on how to add the check_license permission, see the android manifest documentation: http://docs.apportable.com/config.html#manifest-options
For adding the Google "public key string" (via the SIGNING_PUBKEY environment variable) see the expansion files documentation: http://docs.apportable.com/publishing.html#large-installers
The rest should be possible via BridgeKit and maybe also by adding a small java shim.

Related

Unable to remove references to UIWebView from IOS Builds. (Xcode 11.5, Swift 5)

Warning! I am beginner.
Apple testflight is refusing to accept any builds of a previously healthy project, sending out this message;
*
TMS-90809: Deprecated API Usage - New apps that use UIWebView are no
longer accepted. Instead, use WKWebView for improved security and
reliability. Learn more
OK, I understand that the UIWebView is now fully deprecated and no longer allowed.
I have scoured all the files in may app manually using the Xcode editor and find there is no reference to the deprecated string ( UIWebView ) in any file that I can edit.
Using the Xcode "find in project" tool also says it's not there.
If I build & archive, then run grep in CLI to examine the resulting package contents, the report is that the string "UIWebView" IS found in the app and the dSYM file.
Also, again using grep, I have examined the various framework files referenced in the editor, the report is that framework 'UIKIT' contains many references to UIWebView. The check does not reveal any other references to the string.
UIKIT is still shown as required in the build list.
I have cleaned the project, deleted all derived data, closed and opened the project and xcode.
Could any kind soul point me in the right direction here - I am stumped.
Thanks, Max
After learning a lot more, I found it was the PayPal external framework which had deprecated references in it. They no longer maintain it. I had to remove that and I added Braintree instead which is kept updated.
I had failed to check the external frameworks when trying to sanitise the cause. There is no magic bullet here...I just had to plod through all the components.
This was mostly caused by my inexperience and failure to understand the function of the various components of an app.

Is the App Engine Launcher still part of the GCloud SDK's App Engine?

I followed the official guide on using the google cloud sdk with python 3, and I was able to install the latest sdk (273.0.0) with the google app engine and python components. Now I'd like to use the launcher instead of the cli commands in the guide to run my project but I cannot find it anywhere.
The README file in my current installation of the app engine in my AppData/local folder says that the App Engine Launcher should have a desktop shortcut and an executable at C:\Program Files\Google\google_appengine\launcher\GoogleAppEngineLauncher.exe but neither shortcut nor executable path exist. I also looked through the AppData folder and didn't find it.
Was the launcher never present/removed from the app engine version I installed? Was it in the README by mistake? Or could the installation be incomplete?
I actually didn't know that this tool existed, quite interesting.
Many people seemed to have liked this feature and used it extensively in order to have easier deployments and not have to go to the CLI but I think it might be deprecated.
I found relevant information in this Google Groups thread where people we're discussing the usability of this function and the transition of it when App Engine SDK joined the Cloud SDK.
You can see that appcfg was deprecated in July this year and the shutdown date is set for July 2020.
You might be able to still install it and use it with Python 2 until shutdown but I do not think there is a new version available for Python 3.
Hope this helps.
Yes, many years ago, to deploy GAE, Google provided an installable desktop app called GoogleAeppEngineLauncher. I'm quite certain that it is no longer available and would not even function if you were somehow able to obtain a copy.
You now must use the gcloud commands to deploy your app.

Uploading split apk files using google api client edits method in python

Does anybody have any insight on whether or not the Google Play Publishing API will allow an upload with split APKs? I know there is a bundle method for app bundles, but my developer hasn't switched to this format yet.
Split APKs are only uploadable within app bundles (whether via the API or via the console UI).
However, if you don't mean "split APKs" but actually mean Multi-APK (having more than one variant of your APK sharded by eg native code ABI) then this is available via the API or UI, and the help page is here.

Xamarin Forms unable to resolve Azure storage from nuget package

I'm trying to upload a blob to azure using a shared access signature. I have the token and added the nuget package WindowsAzure.Storage to my project. I've tried both version 7.0.0 and 7.0.1-preview.
For some reason I'm unable to resolve the reference when creating an instance of CloudBlobContainer. Also I've tried to just type the using statement but no luck. All azure documentation points to a version 4.4.0-preview, is this the one I should be using?
azure doc ref https://azure.microsoft.com/da-dk/documentation/articles/storage-xamarin-blob-storage/
Best regards
I would just guess that the docs are outdated with the 4.4.0-preview link instead of a link to the NuGet package:
https://www.nuget.org/packages/WindowsAzure.Storage/
CloudBlobContainer seems to be within the Microsoft.WindowsAzure.Storage.Blob namespace.
I would check to ensure that you actually installed the NuGet package as it may have failed silently with other projects.
EX: http://screencast.com/t/FLhztkeu
Changing the PCL profile worked for me. Bizarre.
After installing the NuGet package, you actually need to change the profile on your Xamarin project. You can do this by going to the shared project -> Options -> General – > C#
Change the Current Profile to PCL 4.5 – Profile111 (I have no idea
of what this does.)
You need to retarget your NuGet packages for this new profile now.
Right click on Packages within the shared project, and you’ll have 5
options here.
Retarget will be available. Click that. (Not shown here, as I’ve
already retargeted)
Rebuild your project
How I figured this out
I stumbled across this Xamarin forum post, where someone had the exact same issue. One user pointed us towards a bug report, where PCL references were not added automatically via NuGet package installation. They recommended retargeting, and it worked! Now I can include the using Microsoft.WindowsAzure.Storage.Blob; namespace.
I have a blog post with more info on this.

Script Create Package for Windows Store apps

I am maintaining a set of eleven Windows Store apps. I would like to automate the "Create Package" task, which I am currently doing through the wizard in Visual Studio, in order to produce test packages (signed with my test certificate).
Is there a way to script this task? I was thinking probably using MSBuild or PowerShell, my goal is to have a single script to run that would generate all my app packages and copy them all to a given target directory.
I found some documentation about using the wizard on MSDN, but nothing about scripting the task.
Any ideas?! Thanks.
MSBuild will create app packages for you, in the AppPackages folder. You can also do it manually using MakeAppx, but I've found it to be a bit more cumbersome.
Some things to note: There is a build target called Publish you should use (/t:Publish) when making the actual packages. You should look into the different command-line switches, such as DebugSymbols.
You'll likely want to use the 32-bit MSBuild, as I've had issues with the 64-bit and things like the Multilingual App Toolkit. Also in regards to the MApp Toolkit, make sure you do a full rebuild before building your app package. If an entry is not in a given language and is in another, the entry for the secondary language will be used, so you can end up with multiple languages all popping up on the same page.
Hope this helps and happy coding!

Resources