fastlane-plugin-google_data_safety 0.1.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40b801d950ef2c54b5dff6015bf2ff90f77b502c509408c8bd51538c0eca0948
4
- data.tar.gz: f469686cb3772ab11d328d4891b8e8e4aa30a7a744de9e94b99919d68822495a
3
+ metadata.gz: 4c996cc8d59b250f9fd4c899a6b3d426b74b7644c514fd045e4bf03c335f3c5b
4
+ data.tar.gz: 9ff7950db800e8506ecd23fc970e421d910096c828209205286766bf27e103ad
5
5
  SHA512:
6
- metadata.gz: d65d43564f78fcc032356047b3ae7a6053d3fadae44d78ab8d92c26b786e8799d27c71d021b7acb5528544477cb8a878a5e3c6e9e32413be0c287e3e57ed7576
7
- data.tar.gz: 600b3413608be49ff72fcd0abd115a452c0a8e862f11d9c9ed0fd95e6e37ebf4dba98eb952c91a8a33712d01a08e7891f30ead1f22527cd0d540dd78ff859886
6
+ metadata.gz: 5b64fb9a63d98823b7301c8a7c6cdb6c4dbe9259f414f16164fb690718de766d8512b5f6a9fc7ae20d02c94ee3373df38dd8dd56844f3d40ef33f66795194841
7
+ data.tar.gz: 7b66cc3fa41a90b82340e87df73f2477ab1387e5a53d22a40ddbe6c1c4b8b314fedc438d5ca6e2dc57eca300cf851bc1c60b60fcd3d81be48f38f16954c5fd55
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # google_data_safety plugin
1
+ # Fastlane google_data_safety Plugin
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-data_safety)
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-google_data_safety)
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -12,32 +12,69 @@ fastlane add_plugin google_data_safety
12
12
 
13
13
  ## About google_data_safety
14
14
 
15
- Google safety data sheet for automation of safety form
15
+ Google safety data plugin help with automation of data safety form on Google Play Console. Review [Google policy data safety section](https://support.google.com/googleplay/android-developer/answer/10787469?hl=en) for more information about the form.
16
16
 
17
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
17
+ ## Actions
18
18
 
19
- ## Example
19
+ ### upload_google_data_safety
20
20
 
21
- Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
21
+ Uploads Google data safety csv file to Google Play Console.
22
22
 
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
24
-
25
- ## Run tests for this plugin
26
-
27
- To run both the tests, and code style validation, run
23
+ #### 2 Examples
28
24
 
29
- ```
30
- rake
25
+ ```ruby
26
+ upload_google_data_safety(
27
+ csv_file: "data_safety_export.csv",
28
+ package_name: "my.package.name",
29
+ json_key: "key.json"
30
+ )
31
31
  ```
32
32
 
33
- To automatically fix many of the styling issues, use
33
+ ```ruby
34
+ upload_google_data_safety(
35
+ csv_content: "Question ID (machine readable),Response ID (machine readable),Response value,Answer requirement,Human-friendly question label\n ...",
36
+ package_name: "my.package.name",
37
+ json_key_data: "..."
38
+ )
34
39
  ```
35
- rubocop -a
40
+
41
+ #### Parameters
42
+
43
+ | Key | Environment Variable | Description |
44
+ | ------------- | -------------------- | ------------------------------------------------------------------------------------ |
45
+ | json_key_data | JSON_KEY_DATA | The raw service account JSON data used to authenticate with Google |
46
+ | json_key | JSON_KEY_FILE | The path to a file containing service account JSON, used to authenticate with Google |
47
+ | package_name | PACKAGE_NAME | The package name of the application to use |
48
+ | csv_file | CSV_FILE | The path to a file containing Google data safety csv |
49
+ | csv_content | CSV_CONTENT | The raw csv data used for Google data safety |
50
+ | debug | DEBUG | Provide debug log messaging |
51
+
52
+ ### prompt_create_data_safety_csv
53
+
54
+ Prompt user questions about data usage within Android app.
55
+ **Does not allow for non interactive mode**.
56
+
57
+ #### Example
58
+
59
+ ```ruby
60
+ prompt_create_data_safety_csv(
61
+ csv_file: "google_data_safety.csv"
62
+ )
36
63
  ```
37
64
 
65
+ #### Parameters
66
+
67
+ | Key | Environment Variable | Description |
68
+ | -------- | -------------------- | ----------------------------------------------------------- |
69
+ | csv_file | CSV_FILE | The path to save csv file for upload to Google Play Console |
70
+
71
+ #### Issue reporting
72
+
73
+ For Issues on incorrect CSV file, please get a screenshot of manual import of csv file issues.
74
+
38
75
  ## Issues and Feedback
39
76
 
40
- For any other issues and feedback about this plugin, please submit it to this repository.
77
+ For any other issues and feedback about this plugin, please submit it to this repository. Any issue specific to generating CSV file, please upload a screenshot of CSV file error and all of the question prompt answers.
41
78
 
42
79
  ## Troubleshooting
43
80