Skip to content

Commit

Permalink
chore: conveniently add restaurants and menus from json
Browse files Browse the repository at this point in the history
  • Loading branch information
Gambley1 committed Aug 4, 2024
1 parent 0c20334 commit 7408c21
Show file tree
Hide file tree
Showing 56 changed files with 1,563 additions and 3,202 deletions.
4 changes: 4 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ android {
signingConfig = signingConfigs.debug
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt')
manifestPlaceholders = [appName: "Yandex Eats"]
}
debug {
manifestPlaceholders = [appName: "Yandex Eats DEBUG"]
}
}
}
Expand Down
23 changes: 2 additions & 21 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,8 @@ package="com.example.yandex_food_delivery_clone">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

<!-- Provide required visibility configuration for API level 30 and above -->
<queries>
<!-- If your app checks for SMS support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="sms" />
</intent>
<!-- If your app checks for call support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="tel" />
</intent>
<!-- If your application checks for inAppBrowserView launch mode support -->
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>

<application
android:label="yandex_food_delivery_clone"
android:label="${appName}"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:requestLegacyExternalStorage="true">
Expand All @@ -42,8 +24,7 @@ package="com.example.yandex_food_delivery_clone">
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:enableOnBackInvokedCallback="true">
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
Expand Down
19 changes: 19 additions & 0 deletions api/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
targets:
$default:
builders:
source_gen|combining_builder:
options:
ignore_for_file:
- cast_nullable_to_non_nullable
- implicit_dynamic_parameter
- lines_longer_than_80_chars
- prefer_const_constructors
- require_trailing_commas
json_serializable:
options:
create_to_json: true
create_factory: true
checked: true
explicit_to_json: true
field_rename: snake
include_if_null: false
Loading

0 comments on commit 7408c21

Please sign in to comment.