How to access android data from blackberry native app? - blackberry-10

I have an android app repackaged for blackberry 10. This app is published on Blackberry World. Now I want to replace this app with its native (Cascades) version. My problem is that all user persistent data got lost after upgrade.
Apparently I need to find a way to access persistent data stored via Android platform API:
public SharedPreferences getPreferences()
{
return m_context.getSharedPreferences(m_containerName, 0);
}
Is there any way to access this data from Blackberry native app? How to keep application data after upgrade from android repackaged app to blackberry native?

Related

Publishing Flutter app to Galaxy/Amazon/Microsoft Stores?

Im looking to refactor my app - however am also looking at switching to Flutter
Considering I want to publish my Play Store app onto Samsung Galaxy Store, Amazon Store and Microsoft Windows Store is Flutter compatible?
I ask because these stores have their own consoles, require their own IAPs and some other APIs ( like Amazon Geo ) so want to determine if this is a forcing function for my biz
Thanks
The app in question www.sprocket.bike/app
Flutter is fine for Samsung Galaxy store as they only need an apk which Flutter will generate for you. Windows is also fine with Flutter. Amazon app store also only requires an APK similar to the Galaxy store, so once again you're fine. The important thing with all of these is it seems you just need a .apk version of your app, so really you just need an android compatible app.
The main draw of Flutter is that you can also publish to iOS & macOS. If it's just these stores you're interested in, personally I'd just use native Kotlin.

Changing published mobile application developing language from ionic to flutter

I have a mobile application developed using Ionic. Now I want to redevelop it in flutter and publish a new update, would that be possible? will google play and AppStore allow that?
There is no constraint on development language. But,
You need to use same certificates/keys for iOS App
You need to use same key-store/keys for Android App
If you are using local database or file storage, then you should follow the same path in your newly created app as well. If you are using any third-party library to manage the db or file paths, then it may be in different location altogether. (This one actually happened to me. When I migrated my app from a cross-platform framework to Native the database path got changed in release version)

Missing Tap-Jacking protection for Flutter apps for both Android and iOS

I have built an App using flutter SDK, I want to enable Tap-Jacking protection for my app so that no other overlying app gets access to the loop holes for accessing the confidential data.
How to do this for apps build with Flutter?

publishing PWA on app stores : google play and ios itunes

Is there a way to publish an app on publishing PWA on app stores
google play and ios itunes. Without creating a buggy with cordova which creates a tons of issues to maintain.
Yes there is way to publish your PWAs to Android AppStore.
TWAs
Trusted Web Activities are a new way to integrate your web-app content such as your PWA with your Android app using a protocol based on Custom Tabs.
TWAs uses the Digital Asset Links protocol and API enable an app or website to make public, verifiable statements about other apps or websites. For example, a website can declare that it is associated with a specific Android app, or it can declare that it wants to share user credentials with another website.
Checkout the following link for complete guide to launch PWA to Appstore by Google Developers forum and tutorial guide on medium by Maximiliano Firtman here
Try the documentation Package Your Cordova App for Publishing to an App Store.
Before you can build your application for deployment to any device
through a public app store, you must first configure Visual Studio
with the information it needs to complete the process of packaging and
signing the application for deployment through an app store.
I've just started investigating this myself, have you tried PWA builder? https://www.pwabuilder.com?
It can generate packages for Windows, Android and iOS.

How to migrate user's data from Cordova app to native Swift app?

So we have an app that's built with Cordova PhoneGap already on the app store, And we are building a native version of the app.
But we need to keep some of the user's data already cached from the older Cross-Platform app and read it from Swift.
The Cross platform app uses UIWebView's localStorage to cache this data, so is there a way to read that data from a new swift app?