Coder Social home page Coder Social logo

I/flutter (26641): Error fetching file: [firebase_storage/channel-error] Unable to establish connection on channel. about flutterfire HOT 3 OPEN

voltohmmeter avatar voltohmmeter commented on July 23, 2024
I/flutter (26641): Error fetching file: [firebase_storage/channel-error] Unable to establish connection on channel.

from flutterfire.

Comments (3)

TarekkMA avatar TarekkMA commented on July 23, 2024

Hello @voltohmmeter,

Could you try running flutter clean and then test it again?

from flutterfire.

voltohmmeter avatar voltohmmeter commented on July 23, 2024

i tried to flutter clean so many times but it does not do anything sir

from flutterfire.

voltohmmeter avatar voltohmmeter commented on July 23, 2024

i will provide my initialization
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;

/// 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 {
if (kIsWeb) {
return web;
}
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return android;
case TargetPlatform.iOS:
return ios;
case TargetPlatform.macOS:
return macos;
case TargetPlatform.windows:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for windows - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
case TargetPlatform.linux:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for linux - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
default:
throw UnsupportedError(
'DefaultFirebaseOptions are not supported for this platform.',
);
}
}

static const FirebaseOptions web = FirebaseOptions(
apiKey: 'AIzaSyBWsNdDlOQ0D-2x5YqA5fZjHx-l2Psk2-g',
appId: '1:537937102884:web:055f7fd30f79d9f77bf0b1',
messagingSenderId: '537937102884',
projectId: 'flutter-fsl',
authDomain: 'flutter-fsl.firebaseapp.com',
// databaseURL:
// 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'flutter-fsl.appspot.com',
);

static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyBNM7z1fAUTo0-SNu2FB-FLbV5xoWj_XSY',
appId: '1:537937102884:android:87af0929100f0d747bf0b1',
messagingSenderId: '537937102884',
projectId: 'flutter-fsl',
// databaseURL:
// 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'flutter-fsl.appspot.com',
);

static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyB-zv6bqUFduikmzZzyRzpf_l7WmsNGYUI',
appId: '1:537937102884:ios:2800d8aa7d732b6c7bf0b1',
messagingSenderId: '406099696497',
projectId: 'flutter-fsl',
// databaseURL:
// 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'flutter-fsl.appspot.com',
// androidClientId:
// '406099696497-17qn06u8a0dc717u8ul7s49ampk13lul.apps.googleusercontent.com',
// iosClientId:
// '406099696497-584r3j0bb2to4prgnjj2nfn1or1pqqbg.apps.googleusercontent.com',
// iosBundleId: 'io.flutter.plugins.firebase.analytics.example',
);

from flutterfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.