Push notifications are not working with V3.63PE
Closed this issue · 1 comments
Hello,
Can you help me?
the app is working but I cannot make the push notifications to work. I configured the web server we have according to the documentation, however in V3.6.3 I don't have the option mentioned. Is it necessary to update?
On my instance (I don't have the checkbox), the key is uploaded:
I followed these steps (1 and 2) as mentioned in the documentation:
I receive an exception with iOS
This is my firebase_options.dart file. Is it correct?
`// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
/// Default [FirebaseOptions] for use with your Firebase apps.
///
/// Example:
/// ```dart
/// import 'firebase_options.dart';
/// // ...
/// await Firebase.initializeApp(
/// options: DefaultFirebaseOptions.currentPlatform,
/// );
/// ```
class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform {
throw UnsupportedError(
'Firebase have not been configured - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
}
}`
\
In firebase website seems to be correct
This is the platform when I try to send a notification
Thanks!
Hello,
The firebase_options.dart
has not been configured properly. Seems it's connected with the Unsupported error you have received for IOS. I never saw such an error before, but you can try to delete firebase_options.dart
and run flutterfire configure
again. Hope it will help.