LoginSignup
0
0

error CS1061: 'FirebaseApp' does not contain a definition for 'SetEditorDatabaseUrl'エラーが出た時の解消法

Last updated at Posted at 2024-05-17

背景

firebaseのrealtime databaseをimportして機能を実装しようとしていたらこんなエラーが出ました。

error CS1061: 'FirebaseApp' does not contain a definition for 'SetEditorDatabaseUrl' and no accessible extension method 'SetEditorDatabaseUrl' accepting a first argument of type 'FirebaseApp' could be found (are you missing a using directive or an assembly reference?)

おや?

解決法

ググってみるとversionが上がっていく段階で消えた関数のようです。

FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("{url}");

FirebaseDatabase.GetInstance("{url}");

とすればOKです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0