Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

アナリティクスのシェアイベントの追加 #129

Open
haruharu-1105 opened this issue Oct 26, 2023 · 0 comments
Open

アナリティクスのシェアイベントの追加 #129

haruharu-1105 opened this issue Oct 26, 2023 · 0 comments
Assignees
Labels
✨ enhancement New feature or request

Comments

@haruharu-1105
Copy link
Contributor

haruharu-1105 commented Oct 26, 2023

どのような問題がありますか?

アナリティクスのシェアイベントが取れない。

どうすれば良いですか?

  • シェアイベントを追加する。

合わせて、ContentTypeのenumを追加します。

enum ContentType {
  user('user'),
  work('work'),
  other('other');

  const ContentType(this.value);

  final String value;

  static ContentType fromText(String value) {
    for (final item in ContentType.values) {
      if (item.value == value) {
        return item;
      }
    }
    return ContentType.other;
  }
}
@haruharu-1105 haruharu-1105 added the ✨ enhancement New feature or request label Oct 26, 2023
@haruharu-1105 haruharu-1105 self-assigned this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant