Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4912] how to read ti.app.properties?

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2017-04-20T14:48:01.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reporterjack sparrow
AssigneeShak Hossain
Created2017-04-18T10:16:27.000+0000
Updated2017-04-21T07:27:01.000+0000

Description

Hi i want to read saved ti.app.properties parameters in Native android project , in IOS i found them but in Android i can't ready them in Native , where its saved ?

Comments

  1. Sharif AbuDarda 2017-04-18

    Hello, Your issue is not clear, Native Android app?? "As of Release 3.2.0, any application properties defined in the tiapp.xml file are stored in the device's secure storage, making them read-only." See docs:http://docs.appcelerator.com/platform/latest/#!/api/Titanium.App.Properties. Thanks.
  2. jack sparrow 2017-04-19

    Hi i mean i have project in appcelerator since 3 years , now i've developed it on Android Studio i don't want to use appcelerator for this project , but i need to read values stored in ti.app.properties in old Titanium application such as user information , and i need to read them in Android studio developed application ( none appcelerator ) , i am not able to read "userinfo" that was stored in old app in ti.app.properties . both applications has same bundle id
  3. Sharif AbuDarda 2017-04-19

    Hello, Any information that are stored ti.app.properties are stored in the device's secure storage, making them read-only. Also for native Android you should ask on their support portal. Thanks.
  4. jack sparrow 2017-04-21

    @sharif bro , if i ask Android support portal they will told me check with Appcelerator developers how they are storing it , can someone just give me the Java line in titanium how its writen to store ti.app.properties?

JSON Source