fix: icons notification
This commit is contained in:
parent
ff805aa20f
commit
609c63ea97
|
@ -11,7 +11,7 @@
|
|||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
|
||||
<application
|
||||
android:label="FREHub"
|
||||
android:label="FRE ACCESS HUB"
|
||||
tools:replace="android:label"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
|
@ -63,6 +63,10 @@
|
|||
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="com.google.firebase.messaging.default_notification_icon"
|
||||
android:resource="@drawable/notification_icon" />
|
||||
|
||||
<!-- Don't delete the meta-data below.
|
||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||
<meta-data
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<resources>
|
||||
<string name="app_name">FREHub</string>
|
||||
<string name="default_notification_channel_id">Miscellaneous</string>
|
||||
<string name="app_name">FRE ACCESS HUB</string>
|
||||
<!--<string name="default_notification_channel_id">Miscellaneous</string>-->
|
||||
</resources>
|
|
@ -15,20 +15,21 @@ import 'package:hub/shared/utils/dialog_util.dart';
|
|||
class NotificationService {
|
||||
static Future<void> initialize() async {
|
||||
await AwesomeNotifications().initialize(
|
||||
null,
|
||||
'resource://drawable/notification_icon',
|
||||
[
|
||||
NotificationChannel(
|
||||
channelKey: 'basic_channel',
|
||||
channelGroupKey: 'basic_channel',
|
||||
channelName: 'Basic notifications',
|
||||
channelDescription: 'Notification channel for tests',
|
||||
channelName: 'Notificações do App',
|
||||
channelDescription: 'Canal de notificação do Aplicativo',
|
||||
importance: NotificationImportance.Max,
|
||||
channelShowBadge: true,
|
||||
playSound: true,
|
||||
criticalAlerts: true,
|
||||
onlyAlertOnce: true,
|
||||
defaultColor: const Color(0xFF9D58D0),
|
||||
ledColor: Colors.white)
|
||||
defaultColor: Colors.green,
|
||||
ledColor: Colors.white,
|
||||
)
|
||||
],
|
||||
channelGroups: [
|
||||
NotificationChannelGroup(
|
||||
|
|
|
@ -96,7 +96,7 @@ class _AppState extends State<App> {
|
|||
ChangeNotifierProvider(create: (_) => AppState()),
|
||||
],
|
||||
child: MaterialApp.router(
|
||||
title: 'FREHub',
|
||||
title: 'FRE ACCESS HUB',
|
||||
builder: (context, widget) => ResponsiveBreakpoints.builder(
|
||||
child: BouncingScrollWrapper.builder(context, widget!),
|
||||
breakpoints: [
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<!-- iOS meta tags & icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="FREHub">
|
||||
<meta name="apple-mobile-web-app-title" content="FRE ACCESS HUB">
|
||||
|
||||
|
||||
|
||||
|
@ -29,15 +29,15 @@
|
|||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
|
||||
<!-- Open Graph & SEO tags -->
|
||||
<meta property="og:title" content="FREHub" />
|
||||
<meta property="og:title" content="FRE ACCESS HUB" />
|
||||
<meta property="og:description" content="Built with FlutterFlow." />
|
||||
<meta property="og:image" content="https://storage.googleapis.com/flutterflow-prod-hosting/og_splash_gradient.png" />
|
||||
<meta name="twitter:title" content="FREHub" />
|
||||
<meta name="twitter:title" content="FRE ACCESS HUB" />
|
||||
<meta name="twitter:description" content="Built with FlutterFlow." />
|
||||
<meta name="twitter:image" content="https://storage.googleapis.com/flutterflow-prod-hosting/og_splash_gradient.png" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
|
||||
<title> FREHub </title>
|
||||
<title> FRE ACCESS HUB </title>
|
||||
<meta name="description" content="Built with FlutterFlow." />
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue