Skip to content

Commit

Permalink
[CI] Add space to SDK size badge
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Aug 14, 2024
1 parent 5a47de2 commit 3a40037
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</p>

<p align="center">
<img id="stream-chat-rn-ios-label" alt="StreamChat React Native iOS" src="https://img.shields.io/badge/iOS-1.30MB-blue"/>
<img id="stream-chat-rn-android-label" alt="StreamChat React Native Android" src="https://img.shields.io/badge/Android-7.73MB-blue"/>
<img id="stream-chat-rn-ios-label" alt="StreamChat React Native iOS" src="https://img.shields.io/badge/iOS-1.30%20MB-blue"/>
<img id="stream-chat-rn-android-label" alt="StreamChat React Native Android" src="https://img.shields.io/badge/Android-7.73%20MB-blue"/>
</p>

> The official React Native and Expo components for Stream Chat, a service for
Expand Down
4 changes: 2 additions & 2 deletions examples/SampleApp/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ GEM
google-apis-firebaseappdistribution_v1 (~> 0.3.0)
google-apis-firebaseappdistribution_v1alpha (~> 0.2.0)
fastlane-plugin-load_json (0.0.1)
fastlane-plugin-stream_actions (0.3.57)
fastlane-plugin-stream_actions (0.3.59)
xctest_list (= 1.2.1)
ffi (1.17.0)
fourflusher (2.3.1)
Expand Down Expand Up @@ -320,7 +320,7 @@ DEPENDENCIES
fastlane
fastlane-plugin-firebase_app_distribution
fastlane-plugin-load_json
fastlane-plugin-stream_actions (= 0.3.57)
fastlane-plugin-stream_actions (= 0.3.59)
rubocop-performance
rubocop-require_tools

Expand Down
8 changes: 4 additions & 4 deletions examples/SampleApp/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ end
##########################

lane :file_size do |options|
File.size(options[:path]).to_f / 1024
File.size(options[:path]) / 1024.0
end

lane :directory_size do |options|
total_size = 0
Find.find(options[:path]) do |file|
total_size += File.size(file) if File.file?(file)
end
total_size.to_f / 1024
total_size / 1024.0
end

lane :create_template_project do
Expand Down Expand Up @@ -219,8 +219,8 @@ lane :frameworks_sizes do
ios_app_size_with_sdk = ios_app_size(rn_project_dir: rn_project_dir, skip_match: true)

{
Android: android_app_size_with_sdk - android_app_size_without_sdk,
iOS: ios_app_size_with_sdk - ios_app_size_without_sdk
Android: (android_app_size_with_sdk - android_app_size_without_sdk).round(0),
iOS: (ios_app_size_with_sdk - ios_app_size_without_sdk).round(0)
}
end

Expand Down
2 changes: 1 addition & 1 deletion examples/SampleApp/fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

gem 'fastlane-plugin-firebase_app_distribution'
gem 'fastlane-plugin-load_json'
gem 'fastlane-plugin-stream_actions', '0.3.57'
gem 'fastlane-plugin-stream_actions', '0.3.59'

0 comments on commit 3a40037

Please sign in to comment.