gods_eye 0.0.1+3 copy "gods_eye: ^0.0.1+3" to clipboard
gods_eye: ^0.0.1+3 copied to clipboard

God’s Eye is used to collect data from your testers before release or your actual users after release. This package is used to implement God's Eye.

What is God’s Eye ? #

God’s Eye is used to collect data from your testers before release or your actual users after release.
The collected data include Location, Device information, Application Usage, In-App Feedback, etc.

Before using this package, you need to create a account in God's Eye.
To know about the compleate process read this Medium Blog.

Getting started #

Step 1: Add the dependencies #

dependencies:
  flutter:
    sdk: flutter
  gods_eye: "<newest version>"

Step 2: Import gods_eye.dart #

import 'package:gods_eye/gods_eye.dart';

Network permission must be added for Android and IOS.
Location permission for Android and IOS must be added to access the location.

Step 3: Make a function #

Make this function in your main.dart file.
The parameter godsEyeID: The God’s Eye ID you have in your Dashboard.


  firstFunction() async {
    GodsEye godsEye = GodsEye(godsEyeID: '###############');
    await godsEye.start();
  }

Step 4: Call the function #

The function must to be called in the void initState() of the Home Screen or the first Screen.


  @override
  void initState() {
    firstFunction();
    super.initState();
  }

Step 5: God’s Eye Feedback #

Call the Screen GodsEyeFeedback() where you need to get feedback from the user.


onPressed: () {
  Navigator.push(
    context,
    MaterialPageRoute(builder: (context) {
      return GodsEyeFeedback();
    }),
  );
},

To view the compleate main.dart file, click here

2
likes
90
pub points
0%
popularity

Publisher

unverified uploader

God’s Eye is used to collect data from your testers before release or your actual users after release. This package is used to implement God's Eye.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

cupertino_icons, device_info, flutter, geolocator, http, shared_preferences, time, workmanager

More

Packages that depend on gods_eye