Skip to content

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

@haruharu-1105

Description

@haruharu-1105

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

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

どうすれば良いですか?

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

合わせて、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;
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions