Skip to content

Commit e374230

Browse files
fix(mobile): prepare mobile app for release (#325)
* fix(mobile): prepare mobile app for release * fix(mobile): fixup! prepare mobile app for release
1 parent e1ab4d3 commit e374230

File tree

5 files changed

+25
-16
lines changed

5 files changed

+25
-16
lines changed

app/views/layouts/header/_initial.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
<div class="container px-4">
55
<div class="navbar-brand">
66
<%= link_to root_path, class: "navbar-item" do %>
7-
<%= image_tag 'logo.svg', size: "44" %>
8-
<h2 class='budgeting-kid-logo-font px-4'> BUDGETINGkid </h2>
7+
<%= image_tag 'logo.svg', size: "34", class: 'for-mobile' %>
8+
<%= image_tag 'logo.svg', size: "44", class: 'for-desktop' %>
9+
<h2 class='budgeting-kid-logo-font px-4 is-size-3 for-mobile'> BUDGETINGkid </h2>
10+
<h2 class='budgeting-kid-logo-font px-4 for-desktop'> BUDGETINGkid </h2>
911
<% end %>
1012
</div>
1113
</nav>

app/views/layouts/header/_main.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
<div class="container px-4 container-buttom-border">
55
<div class="navbar-brand is-justify-content-space-between is-align-items-center">
66
<%= link_to "https://get.budgetingkid.com", class: "navbar-item" do %>
7-
<%= image_tag 'logo.svg', size: "44"%>
8-
<h2 class='budgeting-kid-logo-font px-4'> BUDGETINGkid </h2>
7+
<%= image_tag 'logo.svg', size: "32", class: 'for-mobile' %>
8+
<%= image_tag 'logo.svg', size: "44", class: 'for-desktop' %>
9+
<h2 class='budgeting-kid-logo-font px-4 is-size-3 for-mobile'> BUDGETINGkid </h2>
10+
<h2 class='budgeting-kid-logo-font px-4 for-desktop'> BUDGETINGkid </h2>
911
<% end %>
1012
<% if !current_user&.parent? && user_signed_in? %>
1113
<%= link_to destroy_user_session_path, method: :delete, class:"navbar-item for-mobile has-text-budgeting-kid-color" do %>

mobile/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Config from './config';
44
export default function App() {
55
return (
66
<WebView
7-
style={{ marginTop: 25 }}
87
source={{ uri: Config.apiUrl }}
98
/>
109
);

mobile/app.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"expo": {
3-
"name": "mobile",
4-
"slug": "mobile",
5-
"version": "1.0.0",
3+
"name": "BudgetingKid",
4+
"slug": "budgetingkid",
65
"orientation": "portrait",
76
"icon": "./assets/icon.png",
87
"userInterfaceStyle": "light",
98
"splash": {
10-
"image": "./assets/splash.png",
9+
"image": "./assets/icon.png",
1110
"resizeMode": "contain",
1211
"backgroundColor": "#ffffff"
1312
},
@@ -16,22 +15,22 @@
1615
],
1716
"ios": {
1817
"supportsTablet": true,
19-
"bundleIdentifier": "budgetingkid.com"
18+
"bundleIdentifier": "com.budgetingkid"
2019
},
2120
"android": {
2221
"adaptiveIcon": {
23-
"foregroundImage": "./assets/icon.png",
24-
"backgroundColor": "#ffffff"
22+
"foregroundImage": "./assets/icon.png"
2523
},
26-
"package": "budgetingkid.com"
24+
"package": "com.budgetingkid"
2725
},
2826
"web": {
2927
"favicon": "./assets/icon.png"
3028
},
3129
"extra": {
3230
"eas": {
33-
"projectId": "7f0abae7-1c00-41da-9e02-6b02692fa362"
31+
"projectId": "a3f4222e-4da6-46cd-a57f-1c3385998228"
3432
}
35-
}
33+
},
34+
"owner": "widefix"
3635
}
3736
}

mobile/eas.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
"distribution": "internal"
1010
},
1111
"preview": {
12-
"distribution": "internal"
12+
"distribution": "internal",
13+
"autoIncrement": true,
14+
"android": {
15+
"buildType": "apk"
16+
},
17+
"ios": {
18+
"simulator": true
19+
}
1320
},
1421
"production": {
1522
"autoIncrement": true

0 commit comments

Comments
 (0)