How to find and add Screen Names for Entrypoints
Find Screen Name in App Code
@Override
protected void onResume() {
super.onResume();
customerGlu.showEntryPoint(MainActivity.this,"screenName");
} override func viewWillAppear(_ animated: Bool) {
super.viewDidLoad()
customerGlu.setCurrentClassName(className: String(describing: type(of: self)))
}@override
Widget build(BuildContext context) {
return CGScreenDetector(
classname: "screenName",
child: Scaffold(
body: Container(
width: MediaQuery.of(context).size.width,
decoration: BoxDecoration(color: Colors.white),
child: Text("My Widget");
),
)
);
}
@Override
protected void onResume() {
super.onResume();
CGUtils.setActivity(this);
} Add Screen Names to dashboard


Last updated