-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
android.example.yml
75 lines (73 loc) · 4.85 KB
/
android.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
platform: 'android'
packageName: '' # Android App Package Name
keyFilePath: '' # Google Android Publisher API Service Account Credential .json File Path
playConsoleDeveloperAccountID: '' # Google Console Developer Account ID
playConsoleAppID: '' # Google Console App ID
processors:
- FilterProcessor:
class: "FilterProcessor"
enable: true # enable
keywordsInclude: [] # keywords you want to filter out
ratingsInclude: [] # ratings you want to filter out
territoriesInclude: [] # territories you want to filter out(language for android e.g. zh-Hant, en)
- GoogleTranslateProcessor: # Google Translate Processor, will translate review text to your language, you can remove whole block if you don't needed it.
class: "GoogleTranslateProcessor"
enable: false # enable
googleTranslateAPIKeyFilePath: '' # Google Translate API Service Account Credential .json File Path
googleTranslateTargetLang: 'zh-TW' # Translate to what Language
googleTranslateTerritoriesExclude: ["zh-Hant","zh-Hans"] # Review origin Territory (language) that you don't want to translate. (language for android e.g. zh-Hant, en)
- SlackProcessor: # Slack Processor, resend App Review to Slack.
class: "SlackProcessor"
enable: true # enable
slackTimeZoneOffset: "+08:00" # Review Created Date TimeZone
slackAttachmentGroupByNumber: "1" # 1~100, how many review message in 1 slack message.
slackBotToken: "" # Slack Bot Token, send slack message throught Slack Bot.
slackBotTargetChannel: "" # Slack Bot Token, send slack message throught Slack Bot. (recommended, first priority)
slackInCommingWebHookURL: "" # Slack In-Comming WebHook URL, Send slack message throught In-Comming WebHook, not recommended, deprecated.
- GoogleSheetProcessor: # Google Sheet Processor, log review to google sheet
class: "GoogleSheetProcessor"
enable: false # enable
googleSheetAPIKeyFilePath: "" # Google Translate API Service Account Credential .json File Path
googleSheetTimeZoneOffset: "+08:00" # Review Created Date TimeZone
googleSheetInsertStyle:
- type: "append" # Google Sheet Insert type, append or insert
- at: 0 # required if type is insert, where index should insert at
- sheetID: null # required if type is insert, the sheet ID, you can get it on google sheet url: e.g. https://docs.google.com/spreadsheets/d/googleSpreadsheetID/edit#gid=sheetID
- sheetName: "Sheet1" # required if type is append, a.k.a google sheet tab name
values: ["%RATING%","%TITLE%\n%BODY%","%APPVERSION%","%CREATEDDATE%"] # Columns Data, you can uses magic variable below to compose string.
# %TITLE% for review's title
# %BODY% for review's content
# %RATING% for review's rating 1~5
# %PLATFORM% for review's platform Apple or Android
# %ID% for review's ID
# %USERNAME% for review's reviewer username
# %URL% for link to review
# %TERRITORY% for review's territory (language for android e.g. zh-Hant, en)
# %APPVERSION% for review's reviewer app version
# %CREATEDDATE% for review's created date
keywordsInclude: [] # keywords you want to filter out
ratingsInclude: [] # ratings you want to filter out
territoriesInclude: [] # territories you want to filter out(language for android e.g. zh-Hant, en)
- AsanaProcessor:
class: "AsanaProcessor"
enable: false # enable
asanaTimeZoneOffset: "+08:00"
asanaToken: "" # Asana Personal Access Token, get it here -> https://app.asana.com/0/my-apps
asanaProjectID: "" # Asana Project ID, get it in project url -> https://app.asana.com/0/asanaProjectID/list
asanaSectionName: "" # Task Target Project - Section Name, optional
asanaTaskTitleTemplate: "%PLATFORM% - %RATING% ⭐️ - %TITLE%" # Asana Task Title Template
asanaTaskBodyTemplate: "Title: %TITLE%\n---\nBody:\n%BODY%\n---\n- UserName: %USERNAME%\n- App Version: %APPVERSION%\n- Date:%CREATEDDATE%" # Asana Task Body Template
# you can uses magic variable below to compose string.
# %TITLE% for review's title
# %BODY% for review's content
# %RATING% for review's rating 1~5
# %PLATFORM% for review's platform Apple or Android
# %ID% for review's ID
# %USERNAME% for review's reviewer username
# %URL% for link to review
# %TERRITORY% for review's territory (territory for Apple e.g. TWN)
# %APPVERSION% for review's reviewer app version
# %CREATEDDATE% for review's created date
keywordsInclude: [] # keywords you want to filter out
ratingsInclude: [] # ratings you want to filter out
territoriesInclude: [] # territories you want to filter out(language for android e.g. zh-Hant, en)