Skip to content

Commit

Permalink
doc: update example codes
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Jun 24, 2024
1 parent 9fc87e1 commit a9b69d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ ipa.devices
ipa.ipad?
ipa.iphone?
ipa.universal?
ipa.appletv?

# detect app release type
ipa.release_type
Expand All @@ -136,6 +137,18 @@ ipa.frameworks
ipa.plugins
# => [<AppInfo::Plugin:1680 @name=NotificationService>]

# get url schemes
ipa.url_schemes
# => [{:name=>"Web", :role=>"Editor", :schemes=>["app-info", "app_info"]}]

# get query schemes
ipa.url_schemes
# => ["twitter", "instagram", "www-x-callback"]

# get background modes
ipa.background_modes
# => ["audio", "fetch", "remote-notification"]

# get more propety in Info.plist
ipa.info[:CFBundleDisplayName]
# => 'AppInfoDemo'
Expand Down

0 comments on commit a9b69d6

Please sign in to comment.