Google bans Huawei. What should I do with google dependencies? - publish

I have a few apps on Play Market and I'd like to publish them on Huawei AppGallery. I care about next dependencies:
com.github.GoogleChrome.custom-tabs-client:customtabs
play-services-ads
firebase-core
Am I right that no one from this list will work? I mean on devices in ban list.
If yes what are workarounds for that dependencies? Or any other/additional restrictions?

For google releated dependencies you have to use huawei provided services or third party SDK.
It's not so much hard to convert them. You can use HMS Core Toolkit, it help you to quickly migrate the app to the HMS to release it in the HUAWEI AppGallery.
Firebase Authentication: Integrate HMS Account Kit, Integrate AGC Auth Service
Fire Base: HMS Push kit.
Firebase Crashlytics: AGC Crash Service.
Firebase A/B Testing: Huawei A/B Testing
play-services-ads: Huawe ADS kit.

As is known, new Huawei devices don't have GMS, like Mate 30 and P40. Huawei has built up an HMS ecosystem to make apps available to improve user experience on these devices. It's recommended that you use GMS if a device supports GMS; otherwise, use HMS (Huawei Mobile Services).
As for dependencies:
play-services-ads: It is recommended that you use HUAWEI Ads Kit.
firebase-core: You can use HMS Core instead.
One more thing, here is the overview of HMS.

You can use productflavors to build two seperate version of your application, one with pure GMS one with pure HMS.
Here is a guide about how you can achieve that:
https://medium.com/huawei-mobile-developers/guide-to-implement-mobile-services-from-different-providers-in-single-codebase-build-variants-b3610fb77fec
And Demo:
https://github.com/Disav0wed/BuildVariantMapsDemo

The ban actually is from US side, Google is just abiding the guidelines.
You can easily deploy your application in AppGallery using Huawei Mobile Services.
Almost all mandatory services are covered as of today, rich community and developer forum support is also available if you stuck up in development or deployment.
In order to deploy your app you can follow up below steps.
Use HMS Toolkit to identify the dependencies.
Once services are identified you can add them in your application.
Codelabs are available to practice as well.
I would recommend to have a single codebase and just switch to GMS or HMS depending on device where your app is downloaded.
Most of the major apps are using same functionality now a days.
Codelab
Developer Forum
Official Documentation of services
I hope this helps you.

Related

Paid for Apps with Intel XDK

I'm evaluating Intel XDK as a possible solution for developing cross platform mobile apps. I can see from the documentation that you can do in app ads and in app purchases in XDK via Cordova plugins, however there is no mention of whether the apps themselves can be offered on the various app stores as paid for apps or whether they need to be free.
Its not clear from the build and deploy documentation how to build a paid app. I would expect that either XDK or the app store would require pricing information. However for example, the docs show how to generate an app certificate for the Apple app store, but these instructions don't seem to mention pricing either.
I'm guessing from what i've read so far that only free apps are possible and then you need to make money from within the app. Can anyone tell me what the answer is. The free model does not suit the particular app I'm investigating.
Intel XDK will just build the apps for you, you can sell it in App Stores or make it free, its up to you. You have to set the price while submitting the apps to the various App stores on the apple or google website, not in XDK.
As the developer of the application, it's your decision in regards to defining your app as Free or Paid with a particular price per country location. The app stores have a dashboard/portal for configuring this attribute of your application. (Android-Google Play Developer Console; iOS - iTunes Connect; Windows Phone - Windows Phone Dev Center)

How to develop free and pro version of WP8 apps sharing the same code?

How to develop free and pro version of WP8 apps sharing the same code?
Is it possible to have multiple targets per project like in iOS?
Windows Phone uses a Try and Buy model.
Basically what you would do is create your full blown app.
Decide what limitations you want in the trial version.
Then when the app starts check to see if the user has purchased the full version or if this is a trial.
When they buy the full version just cache that and then from that point forward give them full access.
Its very easy to do
Here is the MSDN documentation

Direct2D Windows Store Apps

I am using Direct2D to develop my app's UI, both the desktop and Window Store versions, but I just became a little concerned when I couldn't find concrete information about Windows Store Apps supporting Direct2D.
I looked under the APIs for Desktop Apps and it shows Direct2D, however I can't find it under Window Store Apps APIs.
The Direct2D APIs are available for use in Windows Store Apps.
From your question, it's not clear which specific APIs are of interest, but MSDN has a quickstart showing how to draw to a Windows::UI::Core::CoreWindow via Direct2D.

My iphone app pilot available to download outside of apps store

I have a server at work that I want to host an iphone application on.
I want it so that the user goes to the web browser on their ihpone and clicks a download link on a html page and iphone application is installed on their phone.
Is there any way that this is possible using xocde? Perhaps some way I can build a .plist file that does this?
Thanks
Unfortunately, you cannot install a native iPhone application without going through the App Store (unless you wish to publish your app solely to jailbroken devices). If you really don't want to use the app store, you can build a web app that runs on the server, but you cannot install and run arbitrary binaries on a users device that have not been approved by Apple.
EDIT: As people have pointed out, there are options for testing purposes that will allow you to install your app on other devices via the internet (TestFlightApp, iOS Enterprise program), but for a wide-scale deployment technique this will not work.
Jumhyn is right in his answer but there is a little more to it.
If you want your App to be available to iPhone users (non-jailbroken) you have to have an Apple developer account ($99/yr)
If you want to develop only for jailbroken devices you can, but i'm not sure about the license agreements you accept when using Xcode and Cocoa(touch) framework. It might be a violation of your agreement.
The last solution is the Apple Enterprise developer program ($299/yr). Here you can control who has access to your app and I think it is possible to distribute around the App Store. There is definitely some limitation.
One thing is sure. You cannot do installation from websites as you want without going around Apple's App Store. I strongly recommend sticking to the rules and agreements you accepted when activating OS X, Xcode, iPhone and the Cocoa Framework.
If you are trying to permanently deploy to a website, this will not work for legitimate App Store applications. You can however, once published to the app store, place a link to to it that will take them to the AppStore for downloading it.
If you need this for testing/beta purposes I reccommend www.testflightapp.com

Google Drive branding policy

This question is not directly related with programming or software development but since this is the official Google Drive SDK support platform I'm placing it on SO.
I am the publisher of an Android application that is distributed in the usual Free/Pro format (where the Pro version provides many more features than the Free version).
At this moment I'm planning to integrate the application with Google Drive but only in the Pro version. The Free version will still show the buttons and the Google Drive branding, but as the user tries to interact it will show a message stating that the feature is only available in Pro version with the respective link to the Pro application version.
Now the question itself:
Is it legal (or allowed) for the Free application version to show the Google Drive branding, since its just advertising and not in fact integrating? If not, how should I advertise the Google Drive integration (from the Free version) that is included in the Pro version? The fancy Google Drive branding is essential to capture user attention at this point.
It is legal, but please make sure to check the branding guidelines and terms of service.
As far as I know if it is free to develop the application using the google resources/access there won't be any copyright issue it is just that application will have extra functionality provided by pro version which gonna work with google drive. From a user point of view I would just say that it looks like dragging money out of people by charging them extra for little effort that is putted for extra functionality