What Can I Do If My App Is Rejected Due to Incorrect Language Type? - huawei-developers

After I chose the Chinese mainland as the release country/region of my app that has integrated the HMS Core SDK and submitted the app for review, my app was rejected, for the language for the update pop-up is English, rather than Chinese. Who can help me with this problem?

If you use Eclipse to integrate the HMS Core SDK, ensure that the
related multi-language resource packages are not missing or have not
been modified. Generally, the language packages are in the res
directory. Remember not to change the package name.
If you use Android Studio to integrate the HMS Core SDK, make sure:
The downloaded multi-language resource packages (in the res
directory) are not missing or have not been modified.
If resConfigs has been added to android > defaultConfig, the supported languages are the same as the multi-language packages provided by Huawei, especially for zh-rCN, which is different from the naming on other platforms.

Related

Generate HarmonyOS (Huawei) build from Flutter project

I am working on one Flutter project. In which, We want to generate builds of Android, iOS, and HarmonyOS (Huawei). But I am not sure does Flutter supports this OS or not. I went through some of the stuff on the internet but was unable to figure out how to generate and what kind of commands were needed. Here, Anyone has previously generated HarmonyOS compatible build from the Flutter project. Please share your thoughts.
For now it is not possible directly from Flutter. Because of the change in architecture brought by Huawei with HarmonyOS it is not anymore an "Android device" and it doesn't run "Android applications".
Now what you can call "native HarmonyOS applications" are *.app files (not *.apk or *.aab)
Most recent answer on Quora to:
Will Harmony OS run Android apps?
Gives the following response:
Answered Jun 4, 2021 by Mahdi Parastech, Software Engineer
Nope, because:
The structure of the APIs are different.
Hongmeng (HarmonyOS) apps are in *.app, Android apps are *.apk
The structure of pages (activities) are different, Hongmeng uses some additional json files and puts pages inside *.har files.
Hongmeng uses Javascript too, and that's the only option in Wearable Hongmeng devices, but Android apps are just written in Java.
source
Apparently you should be able to migrate your native android application to HarmonyOS by using their IDE but the thing is that Flutter was not build for this architecture.
Except if the Flutter team decides for some reason to support HarmonyOS I don't think it will be possible to develop HarmonyOS applications by using Flutter.

How do I build my JavaFX Gluon app for iOS now that RoboVM is not available?

As of April 17th, RoboVM licenses are no longer available. Is there an official production-ready replacement for RoboVM? I have not seen any changes in the documentation on Gluon's web site for handling iOS. If there's no replacement from Gluon, is there a clear solution to this issue?
Gluon Mobile and the underlying JavaFXPorts project never relied on a commercial license of RoboVM. On the contrary, both relied on the latest open source release: 1.8.0, which you can find here.
Obviously, it is not maintained anymore, and new changes in the iOS SDK are not taken care of.
Based on this release, there are several forks, some of which are trying to include the latest iOS changes and keep it up to the date.
Actually, JavaFXPorts depends on one of those forks: Mobidevelop, source code, and now uses its 2.3.0 version.
So you shouldn't have any issues of building an iOS solution with Gluon Mobile.

How do I check if a nuget package supports Universal Windows App (UWP)?

I am building a Xamarin application. Currently Supporting Android and iOS.
I would like to expand my application to Universal Windows App using the Xamarin guide
Before doing so I would like to check whether the nuget packages I am currently using support Universal Windows App
For example I have been trying to check if Xamarin.Insights supports Universal Windows App and checking the nuget page I can't see any mention of supported platforms
The contents of the actual nuget package but as I don't know what I'm looking for I can't tell from here either
So what am I looking for in the package to check if a nuget package supports Universal Windows App?
A UWP app will look in folders in the following order:
uap10.0 > uap > netcore451 > netcore > dotnet
Without these folders there isn't a guarantee that the library will work, but it might. There's some trial and error in this as class library targets are undergoing a large overhaul in NuGet and .NET Core. Oren Novotny has a great post on it and there's a NuGet post on UWP specifically.

Using Firebase with tvOS

When I try to use the Firebase framework with tvOS (via cocoapods) I get the following error:
Target 'Pods-Portal TV' of project 'Pods' was rejected as an implicit dependency for 'Pods_Portal_TV.framework' because it doesn't contain platform 'appletvsimulator' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'
I 'tricked' cocoapods to install the framework due to it not recognizing tvOS as a supported platform, by declaring the target as :ios.
So it's easy to see what the problem is. My question: Is it possible to work around this until Firebase officially supports tvOS?
EDIT (8/5/17): tvOS support is being added to the open source Firebase SDK in issue #10. Please follow along there and contribute!
Firebase developer here.
I've built a beta version of the Firebase framework for tvOS, and I'm happy to share with folks so they can give feedback. Please email me at mcdonald firebase com for access.
EDIT (7/28/16): Given the date on this post and the huge Firebase release at Google I/O 2016, there are a few extra caveats I should add to what this library does.
This is a version of the 2.x client and will work with the database on all projects. Authentication however, will not work with projects created after 5/18/2016.
This client is not compatible with Nest, as Nest only supports the 1.x Firebase clients.
EDIT (8/27/16): Please fill out this form to let us know you'd like support for Firebase on other platforms (macOS, tvOS, watchOS).
EDIT (10/29/21): Firebase 8.9.0 introduces official beta support for macOS, tvOS, and Catalyst. watchOS continues to be community supported.
Ok, so I got it working, albeit, a bit flaky.
This is a very quick guide as to how, at the time of writing.
First you need to setup CocoaPods to use unreleased features and get the master branch of cocoapods / cocoapods-core
Then you need to create a private spec repo or use mine
Remember to set your xcode path to your beta version of xcode sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer otherwise the spec won't build.
Then set your source to your spec file, and set the platform to platform :tvos, '9.0' in your Podfile, then pod install.
Your Project should then build and run, but with about 155 warnings:
ld: warning: URGENT: building for tvOS simulator, but linking in object file (/Users/..../..../.... /tvOS/Pods/Firebase/Firebase.framework/Firebase(FPendingPut.o)) built for iOS. Note: This will be an error in the future.
So obviously not a solid solution. Definately not a production solution. But hopefully Firebase will add support in the future. I spoke to Frank from the Firebase team who said that he will take it up at the next feature discussion to see if they want to include it. Here's to hoping they will :)
Also, I had to Comment out the Accounts/Accounts.h import statement in the FAuthData.h for some reason? I don't know if anyone can elaborate on that
Getting some progress from the open source community lately, I just got auth/database working after one or two hours, mostly fighting with the podfile. Seems to work, check out https://github.com/firebase/firebase-ios-sdk#community-supported-efforts

Worklight Facebook platform selection?

For Facbook integration in Worklight which platform should we select Android or Website
,
right now i am developing for android environment but later i will be doing for iphone and windows as well
Also were do i place the Facebook integration code in index.html(main) or in android project which is separately created ?
i am confused do reply
It looks like you are developing a Worklight-based Hybrid application, so in this case you should actually opt for the Facebook JavaScript SDK.
You can add it to your common\js folder and reference it in the common\index.html (just follow the instructions Facebook probably provides). This way you could easily 'extend' it to whichever additional environments you will add in Worklight Studio in your project setup.
Of course, you can also choose to use Facebook's native SDKs for each environment in your Hybrid application. In this case, you'll need to add the SDK in the iphone-ipad-or-android\native folder and follow Facebook's integration instructions (note that for iPhone the actual integration will be done in Xcode, not Eclipse).
If you choose to create a native application and bundle it with the Worklight SDK, then you should opt for the Facebook SDK dedicated to the specific OS. Here, you will add the SDK, again, by following Facebook's instructions.