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?
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.
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.