-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hey I don't know if I am doing this correctly. Can someone check it, because I am unable to read my sqlite file on Android. It work on Windows. I know for the windows editor we need to add URI=file:, but I wasn't sure if we do that for android as well. PS. I haven't tested it on iOS yet, so if iOS is also wrong, please let me know. Thanks!
if (Application.platform == RuntimePlatform.WindowsEditor) connection = "URI=file:" + Application.dataPath + "/StreamingAssets/Save File.db";
if (Application.platform == RuntimePlatform.Android) connection = "jar:file://" + Application.dataPath + "!/assets/Save File.db";
if (Application.platform == RuntimePlatform.IPhonePlayer) connection = Application.dataPath + "/Raw/Save File.db";
Metadata
Metadata
Assignees
Labels
No labels