Hey there and thanks for checking out the Snapfeed Beta π Snapfeed is probably the easiest and most convenient way to capture in-app user feedback, wishes, ratings and much more. The SDK is completely written in Dart and runs on Android, iOS, Desktop and the Web. For more info, head over to snapfeed.dev.
In order to get started, you need to create an account at snapfeed.dev - you do this by simply signing in with a valid Google account.
After signing in you should land on the projects screen where you can find all your current Snapfeed projects. Click on Create new project and choose a name for it. Be creative. You can use whatever name you want π¦
Now your new project has been created! On the Settings page you will find your API credentials, namely the project id and secret. You will need to provide those for configuring the SDK.
After successfully creating a new project in the Snapfeed admin console it's time to add Snapfeed to your app. Simply open your pubspec.yaml
file and add the current version of Snapfeed as a dependency, e.g. snapfeed: 0.0.1
. Make sure to get the newest version.
Now get all pub packages by clicking on Packages get
in your IDE or executing flutter packages get
inside your Flutter project.
Then head over to the main entry point of your app, which most likely resides inside main.dart
. In here wrap your root widget (in this case it is a MaterialApp
widget) inside a Snapfeed
widget and provide your API credentials as parameters.
Snapfeed is completely written in Dart and does not have any native dependencies. However, under Android it needs permission for internet access (for sending user feedback back to you). If you already use Flutter in production, chances are quite high that you already added the internet permission to the manifest - if not, add the following line to the AndroidManifest.xml
in your Android project folder:
<manifest ...>
<uses-permission android:name="android.permission.INTERNET" />
<application ...
</manifest>
That's it!
Snapfeed is released under the Attribution Assurance License. See LICENSE for details.