on 01-31-2013 10:48 AM
Hallo,
i build a native iOS Application (replication based) with the Sybase Unwired Plattform 2.1.3. When I create the Database with this line off code:
[SM4R_BFSM4R_BFDB createDatabase];
The SUP-Api creates different file in my iOS Documents-folder:
"mo_messaging.sql",
"ProjectName/Versioncode_cid.txt",
"OBData"-folder and the
"DEFAULT.udb"
The *.udb file is the ultraLiteDatabse but what are the other files? Which function do the have?
Is it possible to create the Database in a other app-folder since the "Documents"-folder? My favorite Folder would ne the Library/Data folder from the iOS App?
Thanks, best regards
André
Well, if the objecAPI does not provide any documented way of doing it, it is not supported.
And, why would you want to do that, anyway? I do not see any added value besides proving the point that it could be done.
The same is true for "the other files" - not sure why you want to mess with them. The best thing that can happen after you messed around, is that it still works (which it should have right from the start without you toying around). The worst thing is, it does not work. Then you are out of support because you messed with the internal structures of the client and once support finds out you are on your own.
Not sure if you have enough time in your projects for this, but I do not 🙂
BTW:
OB_Messaging.sql + OBData folder are both related to the messaging part of the SUP communication. With 2.1.3 data transprot is done via replication (Mobilink into Ultralite) and the registration, push notification etc via the messaging. So you are actually using Messaging + Replication.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
🙂 That is the reason why the best practice is to encrypt the DB.
Do not forget to store the DB key in the DataVault
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.