Skip to content

Commit

Permalink
fix(mobile): prepare mobile app for release (#325)
Browse files Browse the repository at this point in the history
* fix(mobile): prepare mobile app for release

* fix(mobile): fixup!  prepare mobile app for release
  • Loading branch information
VladislavSokov committed Dec 12, 2023
1 parent e1ab4d3 commit e374230
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 16 deletions.
6 changes: 4 additions & 2 deletions app/views/layouts/header/_initial.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<div class="container px-4">
<div class="navbar-brand">
<%= link_to root_path, class: "navbar-item" do %>
<%= image_tag 'logo.svg', size: "44" %>
<h2 class='budgeting-kid-logo-font px-4'> BUDGETINGkid </h2>
<%= image_tag 'logo.svg', size: "34", class: 'for-mobile' %>
<%= image_tag 'logo.svg', size: "44", class: 'for-desktop' %>
<h2 class='budgeting-kid-logo-font px-4 is-size-3 for-mobile'> BUDGETINGkid </h2>
<h2 class='budgeting-kid-logo-font px-4 for-desktop'> BUDGETINGkid </h2>
<% end %>
</div>
</nav>
6 changes: 4 additions & 2 deletions app/views/layouts/header/_main.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<div class="container px-4 container-buttom-border">
<div class="navbar-brand is-justify-content-space-between is-align-items-center">
<%= link_to "https://get.budgetingkid.com", class: "navbar-item" do %>
<%= image_tag 'logo.svg', size: "44"%>
<h2 class='budgeting-kid-logo-font px-4'> BUDGETINGkid </h2>
<%= image_tag 'logo.svg', size: "32", class: 'for-mobile' %>
<%= image_tag 'logo.svg', size: "44", class: 'for-desktop' %>
<h2 class='budgeting-kid-logo-font px-4 is-size-3 for-mobile'> BUDGETINGkid </h2>
<h2 class='budgeting-kid-logo-font px-4 for-desktop'> BUDGETINGkid </h2>
<% end %>
<% if !current_user&.parent? && user_signed_in? %>
<%= link_to destroy_user_session_path, method: :delete, class:"navbar-item for-mobile has-text-budgeting-kid-color" do %>
Expand Down
1 change: 0 additions & 1 deletion mobile/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Config from './config';
export default function App() {
return (
<WebView
style={{ marginTop: 25 }}
source={{ uri: Config.apiUrl }}
/>
);
Expand Down
19 changes: 9 additions & 10 deletions mobile/app.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"expo": {
"name": "mobile",
"slug": "mobile",
"version": "1.0.0",
"name": "BudgetingKid",
"slug": "budgetingkid",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"image": "./assets/icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
Expand All @@ -16,22 +15,22 @@
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "budgetingkid.com"
"bundleIdentifier": "com.budgetingkid"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/icon.png",
"backgroundColor": "#ffffff"
"foregroundImage": "./assets/icon.png"
},
"package": "budgetingkid.com"
"package": "com.budgetingkid"
},
"web": {
"favicon": "./assets/icon.png"
},
"extra": {
"eas": {
"projectId": "7f0abae7-1c00-41da-9e02-6b02692fa362"
"projectId": "a3f4222e-4da6-46cd-a57f-1c3385998228"
}
}
},
"owner": "widefix"
}
}
9 changes: 8 additions & 1 deletion mobile/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
"distribution": "internal"
},
"preview": {
"distribution": "internal"
"distribution": "internal",
"autoIncrement": true,
"android": {
"buildType": "apk"
},
"ios": {
"simulator": true
}
},
"production": {
"autoIncrement": true
Expand Down

0 comments on commit e374230

Please sign in to comment.