• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 Suggestion : Compile time checks -> Extensions


The following functions are intented to check whether the necessary extensions are imported to the project.

gml_pragma with flag "extension_check_error" : Stops compiling the application, prints out an error message to the log. Second parameter is extension's package name and the third one is an error message that'll be displayed.
gml_pragma("extension_check_error","com.gmdevblog.firebasenaturallanguages","Translation, Language Detection or Smart Replies extensions will not work without Natural Languages extension!");
Total flags are as the following;
  • "extension_check_error"
  • "extension_check_warning" : Doesn't stop compiling, but prints out a warning message!
Just a thought, and is really useful in many situations. What do you think?