iOS Question #BridgeLogger in B4I

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.
In B4A we can user #BridgeLogger: True for logging in Release mode. But what to use in B4I?
I read this thread iReleaseLogger but in Notes I found this

Do not try to upload your app with iReleaseLogger library included to the App Store. It will be rejected.

Does it mean that I need to remove this library and all logging code from my project before send it to the app store?

So is there any other way to read log?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You should use iReleaseLogger.

You don't need to remove the logging code. Only remove the library and the two lines related to ReleaseLogger. You can use conditional compilation for this:
B4X:
#If Not(Store) Then
Dim rl As ReleaseLogger
rl.Initialize("192.168.0.6", 54323)
#End If
Press Ctrl + B to add the STORE symbol to the "store" build configuration.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
You should use iReleaseLogger.

You don't need to remove the logging code. Only remove the library and the two lines related to ReleaseLogger. You can use conditional compilation for this:
B4X:
#If Not(Store) Then
Dim rl As ReleaseLogger
rl.Initialize("192.168.0.6", 54323)
#End If
Press Ctrl + B to add the STORE symbol to the "store" build configuration.
Thanks
 
Upvote 0
Top