Can I show localized Drop In UI using Braintree iOS SDK - ios

I have integrated Braintree Drop-In UI in my app and every thing is working perfectly :)
I just want to know that can I show localized UI? Is it supported in current version of iOS SDK? For example if current locale is french.. i can set it by doing some thing like [self.braintree setLocale:#"fr"] etc.
I have searched several Braintree forums and haven't got any answer regarding this.

On an iOS integration, yes it's supported.
Currently, the Drop-in option is available in 18 languages on iOS and Android, but only in English (US) on the web.
Here's the SDK details on iOS localization bundles

If you're integrating via Cocoapods, then the localizations are automatically available to you when you switch the device language.
However, if you're doing a manual integration (i.e. dragging and dropping the raw Braintree SDK files into your project), you will need to create a resource bundle named Braintree-Drop-In-Localization, add the localized .strings files for the desired languages, and add that resource bundle to the app.

Related

dart/flutter: How to ship iOS apps using flutter frontend vs. C/C++ backend to App Store?

Goal
I'm building an iOS app using flutter for frontend, and C/C++ as backend. They must interoperate through FFI, which is a language binding scheme through C dynamic libraries. I intend to submit it to iOS App Store.
Problems
The Dart FFI sample on accessing C-struct works on macOS through dynamic liking and binding. Now dynamic linking is technically possible on iOS according to Xcode 9 - No option to create dylib project iOS, however, it's unclear to me how to ship the app to AppStore, because dynamic linking is not allowed according to Apple Guidelines Section 2.5.2.
2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they
download, install, or execute code which introduces or changes
features or functionality of the app, including other apps.
Educational apps designed to teach, develop, or allow students to test
executable code may, in limited circumstances, download code provided
that such code is not used for other purposes. Such apps must make the
source code provided by the Application completely viewable and
editable by the user.
Quite a few SO questions confirm this problem, such as:
can I use dynamic library(shared object) in my iphone app?
Will Appstore reviewers allow us to use dynamic library in iOS8?
Then official flutter documentation says
Dynamically linked libraries are automatically loaded by the dynamic
linker when the app starts. Their constituent symbols can be resolved
using DynamicLibrary.process. You can also get a handle to the library
with DynamicLibrary.open to restrict the scope of symbol resolution,
but it’s unclear how Apple’s review process handles this.
Questions
As of the date when I post this (2020), does this say that I could never ship an app using this architecture to App Store?
Is it possible that I static link my C/C++ code into a single binary of a flutter app? Take Unity as an example, their iOS plugin system recompiles the plugin into native app. If flutter has a similar mechanism, how?
The answers saying you can't use dynamic libraries on iOS date to before iOS 8, when support for user-provided dynamic libraries was added.
Nothing in 2.5.2 days you can't use dynamic libraires as long as they are shipped as part of your app. So:
As of the date when I post this (2020), does this say that I could never ship an app using this architecture to App Store?
No it doesn't, as long as "this architecture" refers to using a dynamic library that you link to at build time and bundle into your application.
Adding inputs from Reddit's FlutterDev channel
#escamoteur
As I understand it you are not allowed to load any library from
outside your installation folder. Especially not downloading something
at a later point of time. Could you make this a Stackoverflow question
and tag it with Flutter?
#airflow_matt
Since iOS 8 there can be shared libraries in the bundle, when properly
codesigned I don't see why dlopen wouldn't work. Or you can link the
library with main executable itself (just like flutter does) and
dlopen self (DynamicLibrary.process()). I think it's worth a shot.

Add React-native app to 'Activities' panel on IOS

I am looking for informations about to add an App in the 'Activities' IOS panel in order to can add my app to the list of sharing apps.
I don't know if it's automatic or if it need some configuration.
Thanks
This is possible using AppExtensions in iOS SDK.
In React native, the docs talk about App extensions here. And an example app for sharing is available in a github repo.

Here Maps - iOS - MSDKUI Changing ui elements based on local language

I am using MSDKUI to display UI elements with navigation. I can't find the way to change the default language to the phones local language.
The HERE Mobile SDK UI Kit for iOS should have already support for 14+ languages. Please check the documentation to verify what languages are available.
Within Xcode you have to add the desired languages you want to support. If the language is not yet supported, then the device will fallback to English.
For example, Xcode 9 and Xcode 10 already support base internationalization. Verify that the checkbox is marked:
Select your project in Xcode's file navigator. Make sure the project and not the target is selected. You should see the checkbox labelled 'Use Base Internationalization'. If it is not selected, please select it.
With the +/- buttons above you can add or remove supported languages for your app. Make sure the selected language will match the ones from the HERE Mobile SDK UI Kit.
Set a language on the device via phone settings. Restart your app: The components should be localized now.
Note that this procedure does not contain any HERE specific steps. It's just the standard way on iOS how to add localization to your app. Once the app is properly localized the HERE Mobile SDK UI Kit will recognize the language and display the current language, if available.

Account kit: Set the default language for iOS app

How to change the language in Facebook-Account-Kit for iOS?
Facebook said that: Localization support is also provided by the SDK. The supported languages are packaged with the SDK. You don't need anything else to display text in the appropriate locale.
But it's not enough, you must add your language in Project Info like image below
I just change the simulator/device language. The display language on AccountKIT UI will be changed automatically . It worked for me
I also don't need to add localization config as "Thành Ngô Văn" answer
I had changed the device language. Now working fine.

specify other platforms app icons in phonegap ios

I built the app using phonegap with xcode 4.5 .Basically i chosen the template as PhoneGap based application.And create the simple app successfully installed the apps in deveices(iPad & Android mobile).I could see only default icon on all devices.How to specify that?Do i need to modify in phonegap.plist?
Each platform has its own way of handling the application icon, so you'll have to do some more work than just updating one file.
Did you see phonegap's wiki on that topic?

Resources