What is God’s Eye ?
Analyzing your users is made easy with God’s Eye. It is used to collect data from your testers before release or your actual users after release.
The collected data includes Location, Device information, Application Usage, In-App Feedback, etc.
Work flow:
- Create an account in God’s Eye website.
- Copy your unique God’s Eye ID from the website’s dashboard.
- Use the gods_eye package with the unique ID in your flutter app (How to do it? will see it below)
- All Set! Send the application to your testers/users.
Now, as the users start using your application, you can view the data in your website’s dashboard. (Download option available)
How to use God’s Eye in Flutter?
We have a package for this flutter! gods_eye
With only two to three lines of code, You have all the Data in your Dashboard.
Package Implementation
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.
Step 4: Call the function
The function must to be called in the void initState() of the Home Screen or the first Screen.
The Complete code
Here is the main.dart file, with the complete code.
Step 5: God’s Eye Feedback
Call the Screen GodsEyeFeedback() where you need to get feedback from the user.