Join Slack
Powered by
How can i know if app is running in Debug build or...
# multiplatform
v
Vaibhav Jaiswal
07/08/2024, 8:37 AM
How can i know if app is running in Debug build or Release in Android and iOS ?
r
Rok Oblak
07/08/2024, 8:43 AM
My solution was an expect/actual implementation of an interface, iOS constructs it via a flag determined by #debug macro, Android checks build config
v
Vaibhav Jaiswal
07/08/2024, 8:43 AM
how to do this on iOS side? Did not understand this #debug macro
r
Rok Oblak
07/08/2024, 8:44 AM
fastest is to ask chatgpt 4o to prepare an expect actual implementation of an interface using the debug macro on iOS
v
Vaibhav Jaiswal
07/08/2024, 8:46 AM
Thanks
32
Views
Open in Slack
Previous
Next