Giter Site home page Giter Site logo

icyleaf / fastlane-plugin-app_info Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 9.05 MB

Teardown tool for mobile app(ipa/apk), analysis metedata like version, name, icon etc.

License: MIT License

Ruby 100.00%
fastlane fastlane-plugin ipa apk fastlane-ios fastlane-android aab

fastlane-plugin-app_info's Introduction

app_info plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-app_info, add it to your project by running:

fastlane add_plugin app_info

About app_info

Teardown tool for mobile app(ipa, apk and aab file), analysis metedata like version, name, icon etc.

Configure

+------------------------------------------------------------------------------------------------------+
|                                               app_info                                               |
+------------------------------------------------------------------------------------------------------+
| Parse and dump mobile app(ipa, apk and aab file) metedata.                                           |
|                                                                                                      |
| Teardown tool for mobile app(ipa, apk and aab file), analysis metedata like version, name, icon etc. |
|                                                                                                      |
| Created by icyleaf <[email protected]>                                                            |
+------------------------------------------------------------------------------------------------------+

+-------+--------------------------------------------------------------------------+----------------+---------+
|                                              app_info Options                                               |
+-------+--------------------------------------------------------------------------+----------------+---------+
| Key   | Description                                                              | Env Var(s)     | Default |
+-------+--------------------------------------------------------------------------+----------------+---------+
| file  | Path to your ipa, apk and aab file file. Optional if you use the `gym`,  | APP_INFO_FILE  |         |
|       | `ipa` or `xcodebuild` action.                                            |                |         |
| clean | Clean cache files to reduce disk size                                    | APP_INFO_CLEAN | true    |
+-------+--------------------------------------------------------------------------+----------------+---------+
* = default value is dependent on the user's system

+-------------+-----------------------------------------+
|               app_info Output Variables               |
+-------------+-----------------------------------------+
| Key         | Description                             |
+-------------+-----------------------------------------+
| APP_INFO    | The JSON formated metadata of given app |
+-------------+-----------------------------------------+
Access the output values using `lane_context[SharedValues::VARIABLE_NAME]`

+-----------------------------------------------+
|             app_info Return Value             |
+-----------------------------------------------+
| Returns a Hash formated metadata of given app |
+-----------------------------------------------+

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

Example Output

iOS

+-----------------------------+-------------------------------------------------+
|                          Summary for app_info 0.6.0                           |
+-----------------------------+-------------------------------------------------+
| OS                          | iOS                                             |
| Name                        | AppInfoDemo                                     |
| ReleaseVersion              | 1.2.3                                           |
| BuildVersion                | 5                                               |
| Identifier                  | com.icyleaf.AppInfoDemo                         |
| Size                        | 41.70 KB                                        |
| DeviceType                  | iPhone                                          |
| Releasetype                 | AdHoc                                           |
| Archs (2)                   | armv7                                           |
|                             | arm64                                           |
| Appidname                   | XC Wildcard                                     |
| Applicationidentifierprefix | 5PJA6N5A3B                                      |
| Creationdate                | 2016-07-27 17:44:49 +0800                       |
| Platform                    | iOS                                             |
| Entitlements (4)            | keychain-access-groups: ["5PJA6N5A3B.*"]        |
|                             | get-task-allow: true                            |
|                             | application-identifier: 5PJA6N5A3B.*            |
|                             | com.apple.developer.team-identifier: 5PJA6N5A3B |
| Expirationdate              | 2017-07-27 17:44:49 +0800                       |
| Provisioneddevices (100)    | 18cf53cddee60c52f9c97b1521e7cbf8342628da        |
|                             | ****************************************        |
| TeamIdentifier              | **********                                      |
| TeamName                    | EWS Inc                                         |
| TimeToLive                  | 365                                             |
| UUID                        | 3e5c38a0-1111-2222-3333-c508df973b15            |
| Version                     | 1                                               |
+-----------------------------+-------------------------------------------------+

Android

+--------------------+------------------------------+
|            Summary for app_info 0.6.0             |
+--------------------+------------------------------+
| OS                 | Android                      |
| Name               | AppInfoDemo                  |
| ReleaseVersion     | 1.2.3                        |
| BuildVersion       | 5                            |
| Identifier         | com.icyleaf.appinfodemo      |
| Size               | 2.93 MB                      |
| DeviceType         | Phone                        |
| Minsdkversion      | 14                           |
| Targetsdkversion   | 29                           |
| Signatures         | META-INF/CERT.RSA            |
| Certificateissuers | CN:Android Debug O:Android   |
| Usepermissions (2) | android.permission.BLUETOOTH |
|                    | android.permission.CAMERA    |
| Usefeatures        |                              |
+--------------------+------------------------------+

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

fastlane-plugin-app_info's People

Contributors

icyleaf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

fastlane-plugin-app_info's Issues

cannot load such file -- google/protobuf_c

Error loading plugin 'fastlane-plugin-app_info': cannot load such file -- google/protobuf_c
+---------------------------+---------+---------------------------+
| Used plugins |
+---------------------------+---------+---------------------------+
| Plugin | Version | Action |
+---------------------------+---------+---------------------------+
| fastlane-plugin-pgyer | 0.2.2 | pgyer |
| fastlane-plugin-appcente | 1.11.1 | appcenter_fetch_version_ |
| r | | number, |
| | | appcenter_fetch_devices, |
| | | appcenter_upload |
| fastlane-plugin-app_info | 0.6.0 | No actions found |
+---------------------------+---------+---------------------------+

[!] No actions were found while loading one or more plugins
Please use bundle exec fastlane with plugins
More info - https://docs.fastlane.tools/plugins/using-plugins/#run-with-plugins

执行bundle exec fastlane无效

"\x82" from ASCII-8BIT to UTF-8 的错误

好久不打 adhoc 的包,今天测试打了一个报了 "\x82" from ASCII-8BIT to UTF-8 的错误,根据错误来看应该是 adhoc 的证书输出的问题

/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-plugin-app_info-0.3.0/lib/fastlane/plugin/app_info/helper/app_info_helper.rb:53:in `app_to_json'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-plugin-app_info-0.3.0/lib/fastlane/plugin/app_info/actions/app_info_action.rb:20:in `run'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
/usr/local/lib/ruby/gems/3.0.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.