Skip to content

Commit

Permalink
fix: fix midged mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
FerranAD committed Nov 21, 2023
1 parent a4907b7 commit 00572af
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 1 deletion.
37 changes: 37 additions & 0 deletions app/android/app/src/main/AndroidManifest.xml.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
android:name=".MainActivity"
android:label="@string/title_activity_main"
android:theme="@style/AppTheme.NoActionBarLaunch"
android:launchMode="singleTask"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
</provider>
<meta-data android:name="com.google.android.geo.API_KEY" android:value="${MAPS_API_KEY}" />
</application>
<!-- Permissions -->

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
71 changes: 71 additions & 0 deletions app/src/app/pages/home/home.page.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#container {
text-align: center;

position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}

#container strong {
font-size: 20px;
line-height: 26px;
}

#container p {
font-size: 16px;
line-height: 22px;

color: #8c8c8c;

margin: 0;
}

#container a {
text-decoration: none;
}

capacitor-google-map {
display: inline-block;
width: 100%;
height: 100%;
}

ion-content {
--background: none;
}

#container {
text-align: center;
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}

#container strong {
font-size: 20px;
line-height: 26px;
}

#container p {
font-size: 16px;
line-height: 22px;
color: #8c8c8c;
margin: 0;
}

#container a {
text-decoration: none;
}

ion-list {
padding-top: 0;
padding-bottom: 0;
}

.ion-modal {
--width: 100%;
}
2 changes: 1 addition & 1 deletion app/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

export const environment = {
production: false,
API: 'http://localhost:8000',
API: 'https://backend.refuapp.online',
MAPS_FORCE_CREATE: true,
SENSORS_API: 'http://localhost:8001',
};
Expand Down

0 comments on commit 00572af

Please sign in to comment.