Sep 3, 2023 Replies: 5 Since it's not recommended for your published apps to write logs, the code below will do that for you. B4X: #If Release_obfuscated="" #BridgeLogger: True #End If Note: Release_obfuscated is a wished built-in conditional symbol, and until the wish comes true you need to define it manually. Click to expand...
Since it's not recommended for your published apps to write logs, the code below will do that for you. B4X: #If Release_obfuscated="" #BridgeLogger: True #End If Note: Release_obfuscated is a wished built-in conditional symbol, and until the wish comes true you need to define it manually.
hatzisn Expert Licensed User Longtime User Sep 3, 2023 #2 What is wrong with this (?) : B4X: #If DEVELOPMENT #BridgeLogger: True #End If
toby Well-Known Member Licensed User Longtime User Sep 3, 2023 #3 hatzisn said: DEVELOPMENT Click to expand... "DEVELOPMENT" is ambiguous, unable to distinguish between Release and Release_Obfuscated, assuming that you still want your apps to write logs in Release mode.
hatzisn said: DEVELOPMENT Click to expand... "DEVELOPMENT" is ambiguous, unable to distinguish between Release and Release_Obfuscated, assuming that you still want your apps to write logs in Release mode.
toby Well-Known Member Licensed User Longtime User Sep 3, 2023 #4 Release_Obfuscated conditional symbol, once implemented, will be defined automatically when Release(Obfuscated) mode is selected; the remaining modes are Debug and Release. As you can see, there's no "Development" mode.
Release_Obfuscated conditional symbol, once implemented, will be defined automatically when Release(Obfuscated) mode is selected; the remaining modes are Debug and Release. As you can see, there's no "Development" mode.
hatzisn Expert Licensed User Longtime User Sep 3, 2023 #5 toby said: Release_Obfuscated conditional symbol, once implemented, will be defined automatically when Release(Obfuscated) mode is selected; the remaining modes are Debug and Release. As you can see, there's no "Development" mode. Click to expand... Oh, I see where you 're getting to. The DEVELOPMENT you can create it yourself. Just press Ctrl+B -> New configuration -> Add configuration name "DEVELOPMENT" and in the lower textbox (conditional symbol) again "DEVELOPMENT". Press ok and then exactly right of the Release combo box in the editor, select in the other combo box DEVELOPMENT. Last edited: Sep 3, 2023
toby said: Release_Obfuscated conditional symbol, once implemented, will be defined automatically when Release(Obfuscated) mode is selected; the remaining modes are Debug and Release. As you can see, there's no "Development" mode. Click to expand... Oh, I see where you 're getting to. The DEVELOPMENT you can create it yourself. Just press Ctrl+B -> New configuration -> Add configuration name "DEVELOPMENT" and in the lower textbox (conditional symbol) again "DEVELOPMENT". Press ok and then exactly right of the Release combo box in the editor, select in the other combo box DEVELOPMENT.
AnandGupta Expert Licensed User Longtime User Sep 3, 2023 #6 toby said: Release_Obfuscated conditional symbol, once implemented, Click to expand... hatzisn said: The DEVELOPMENT you can create it yourself. Click to expand... I think @toby knows it. His wish is for "Release_Obfuscated" so that it is automatic.
toby said: Release_Obfuscated conditional symbol, once implemented, Click to expand... hatzisn said: The DEVELOPMENT you can create it yourself. Click to expand... I think @toby knows it. His wish is for "Release_Obfuscated" so that it is automatic.