userorient_flutter 0.2.0 copy "userorient_flutter: ^0.2.0" to clipboard
userorient_flutter: ^0.2.0 copied to clipboard

Feature Voting Board for Flutter. Collect feedback from your users and prioritize your development roadmap.

UserOrient.com #

Pub Pub Likes Popularity Pub points

Feature Voting Board for Flutter

UserOrient is a feature voting board that helps you collect feedback from your users and prioritize your development roadmap in your Flutter projects.

UserOrient Cover

Getting Started #

Considering that you have already created a project on UserOrient.com and received an API key, follow these steps to integrate the SDK into your Flutter app.

Add the dependency #

Add the following to your pubspec.yaml file:

dependencies:
  userorient_flutter: <latest-version>

Initialize the SDK #

Initialize the SDK with your project's API key and preferred language:

import 'package:userorient_flutter/userorient_flutter.dart';

void main() {
  UserOrient.configure(
    apiKey: 'YOUR_API_KEY',
    languageCode: 'en',
  );

Display the board #

To show the UserOrient board, call UserOrient.openBoard(context):

import 'package:userorient_flutter/userorient_flutter.dart';

void openBoard() {
  // Set user information
  UserOrient.setUser(
    uniqueIdentifier: '123456',
    fullName: 'Kamran Bekirov',
    email: 'kamran@userorient.com',
    phoneNumber: '+1234567890',
    language: 'en',
    extra: {
      'age': 27,
      'is_premium': true,
    }
  );

  // Display the board
  UserOrient.openBoard(context);
}

Note: It's recommended to call UserOrient.setUser before each board launch to ensure up-to-date user information.

User Identification #

UserOrient requires a unique identifier (uniqueIdentifier) for each user. This can be an email address, phone number, or custom ID. If not provided, UserOrient will generate a random identifier.

Logging Out #

When a user logs out of your app, call UserOrient.clearCache() to prevent potential issues:

await UserOrient.clearCache();

Contact #

For any questions or support, please reach out to us:


Made with 💙 by the UserOrient team

11
likes
160
pub points
63%
popularity

Publisher

verified publisheruserorient.com

Feature Voting Board for Flutter. Collect feedback from your users and prioritize your development roadmap.

Homepage
Repository (GitHub)
View/report issues

Topics

#feature-request #feedback #user-experience #board #upvote

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_svg, flutter_svg_provider, http, shared_preferences, url_launcher

More

Packages that depend on userorient_flutter