iOS Question DB3 not working in release?

thughesimsuk

Member
Licensed User
I have an app that works perfectly in debug mode. When I run the release I cant pull any records from the db3? I don't get errors or anything just blank tables where my records normally appear in debug.

For clarification I have a db3 file that I copy from File.DirAssets into File.DirDocuments, when a user logs in. Then I use iSQL to manage the rest. Is there a permission that I need to set for release?

I have an "IOS distribution" and "IOS development" certificate as I thought that would be the issue but I have tried both and still cant the database working in release mode.

Any help would be welcome as this is costing me time now on my project.

Many thanks,

Tom
 

thughesimsuk

Member
Licensed User
Probably no.

Can you post a screenshot in debug mode and release mode?

Please see screenshots. In release mode I can see the scrollview vertical scrollbar but no content?

I am using Windows 7 (not sure if that is relevant).

I have also tried a different Ipad as I thought that may be the issue but I still get the same issue.
 

Attachments

  • File_001.png
    File_001.png
    185.1 KB · Views: 122
  • File_000.png
    File_000.png
    115.4 KB · Views: 128
Last edited:
Upvote 0

Erel

Administrator
Staff member
Licensed User
As it is working fine here in release mode it is difficult for me to say what's wrong.

Note that this code is wrong:
B4X:
If CursorMenu.NextRow = False Then
     lbl_no_props.Visible = True
   Else
     lbl_no_props.Visible = False
   End If
You are skipping over the first element.

I would start with removing the ScrollView and using CustomListView instead.

You can use Msgbox to see what is the value of the first CursorMenu.NextRow call.
If you are using a local Mac then you can call Log and see it with iosconsole.
 
Upvote 0

thughesimsuk

Member
Licensed User
As it is working fine here in release mode it is difficult for me to say what's wrong.

Note that this code is wrong:
B4X:
If CursorMenu.NextRow = False Then
     lbl_no_props.Visible = True
   Else
     lbl_no_props.Visible = False
   End If
You are skipping over the first element.

I would start with removing the ScrollView and using CustomListView instead.

You can use Msgbox to see what is the value of the first CursorMenu.NextRow call.
If you are using a local Mac then you can call Log and see it with iosconsole.

Thanks for the advice Erel. I found that the issue was "iBlur" once I removed that from the library manager everything worked in release mode. Very strange!
 
Upvote 0
Top