corwin42 Expert Licensed User Longtime User Mar 10, 2017 #1 Hello, is it possible to stop the analytics functions in an app once Analytics.Initialize() is called? I want to add a Setting for my app which controls if the App should create analytics data or not.
Hello, is it possible to stop the analytics functions in an app once Analytics.Initialize() is called? I want to add a Setting for my app which controls if the App should create analytics data or not.
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2017 #2 Yes: B4X: Dim jo As JavaObject = Analytics jo.RunMethod("setAnalyticsCollectionEnabled", Array(True)) 'or False Upvote 0
Yes: B4X: Dim jo As JavaObject = Analytics jo.RunMethod("setAnalyticsCollectionEnabled", Array(True)) 'or False