Migrating Ti.app.Properties from ios - titanium

How can i access the access Ti.app.properties for ios users with ios sdk 3.5.1.GA without using the Ti sdk ? Are they stored in an plist file on th client? This is for migration purposes.

Both iOS and Android store app properties in special files on the filesystem. Natively, iOS properties are known as NSUserDefaults, which are stored in .plist files in the application's library directory. Android stores them in standard xml text files at /data/data/com.domainname.appname/shared_prefs/titanium.xml. Titanium provides a uniform means to set and get app properties via the Titanium.App.Properties API.

Related

Backup files to icloud in my react-native app

looking for react-native libraries or development approaches to archive the following:
My Use case
In my react-native app I want to sync pictures ( taken by users ) and other files like the user database "realm.db ( from realmjs )" with the user iCloud drive.
Question
Do I need to upload all the files with cloudkitjs to the web or is it possible to just place the files into a specific app directory and every time the user update the iphone device the -> app it will be automatically synced?
What I already tried
activating iCloud support in my app
created iCloud container
Requirements
everything should be synced within the user/customer iCloud drive
don't want to take care about GDPR guidelines
only an iOS app exisits... no need to sync data between MacOS and iOS
My Stack
react-native 0.60
typescript
Many thanks for any help which put me into the right direction.

Ionic 4 Capacitor Choose file for Android and IOS

I was developing an app in ionic 4 using Capacitor for android and IOS. I can't find any way to choose a file using Capacitor's api. I had looked for method in the Capacitor's "Filesystem" api (https://capacitor.ionicframework.com/docs/apis/filesystem/) but could not find any that would allow me th choose file. Is there any other way I can choose file from android or IOS device using ionic 4 with Capacitor?
Just use an input with type file
<input type="file" name="myFile">
You can use the plugin I've developed:
https://github.com/hinddeep/capacitor-file-selector
Allows the developer to specify whether the user can select single or multiple files
Lends the ability to restrict the user to select files conforming to a given set of extensions
Lends the ability to restrict the user to select files conforming to a broader category of multimedia files, i.e. Audios, Videos and Images
Supported Platforms: Android (is compatible with Android 10+'s scoped storage), iOS and Web

How to implement file browser like android in Xamarin forms IOS

Currently I am using File picker plugin(https://github.com/Studyxnet/FilePicker-Plugin-for-Xamarin-and-Windows) to browse and attach files in my application.
Its an cross platform plugin to upload documents.
but in this plugin when we want to upload documents in IOS we can upload documents using ICloud only. I want to upload documents without Icloud as we are doing in android.
Can anyone help me to upload documents in Xamarin forms IOS without using ICloud?
There is no way to browse files like android in iOS

Worklight: Do the legal documents gets installed with the app?

Environment: Worklight 6.1.0.2
We have created a hybrid app using Worklight 6.1 for android, iOS and windows8 platform. We would like to include license documents and notices files as part of the app. To do this, we would like to know, if including these documents inside the "legal" folder (under application name folder) and installing the app on the device, will also install these license documents on the device ?
I browse through the android app, but didn't found these documents as part of the build.
The legal folder is not part of the generated Android project because it has no value there. The native project will become your .apk - the file that you distribute to your end-users. The license is of no use there; your customer cannot see it.

CLI support for App Store app

Is there a way to add a command line interface to a sandboxed app downloaded through the Mac AppStore?
Something similar to the XCode command line tools, do not just use the whole executable name and path.
This can't be done - app store rules don't allow to install code outside the app bundle. If you want to provide your users a CLI interface you'll have to make this available as a separate download outside the app store.