如何从现有旧应用升级新的Firebase应用?

时间:2016-05-23 04:09:10

标签: firebase

仅在新的Firebase控制台中有“创建新应用”或“从Google项目导入”。(https://console.firebase.google.com/

如何将退出旧应用更新为新应用?(https://www.firebase.com/account/#/

---修改

此问题看起来已修复。

我认为新Firebase控制台上的原因是500请求错误。 但它已经修好了。

4 个答案:

答案 0 :(得分:1)

如果您已使用与firebase.com上使用的相同Google帐户登录new Firebase Console,那么您应该会在“目前位于Firebase.com上的项目”下看到您的firebase.com项目。

按照WebAndroidiOS的新Firebase升级页面上的说明操作。

答案 1 :(得分:0)

我有一个类似的问题。我看到导入按钮但是当我单击它并选择我想要加载的项目时,它只显示微调器。我甚至尝试从旧的firebase项目(升级之前)导入JSON,它只是旋转。可能是旧的JSON不是新的firebase所期望的吗?

修改的 好吧,似乎它不喜欢Chrome。适用于IE 11但不适用于Chrome 50.0.2

答案 2 :(得分:0)

这是您更新Firebase的方法< 3.0应用程序到Firebase 3.

第1步

安装常规Firebase - pod 'Firebase', '>= 2.5.1'

或者

如果考虑您的旧应用已经是Firebase< 3.0你应该没事。

第2步

更新 - 广告连播更新

*此时需要几分钟才能更新。你应该看到这样的东西。

Update all pods
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing Firebase 3.2.0 (was 3.2.0)
Using FirebaseAnalytics (3.2.0)
Installing FirebaseAuth (3.0.2)
Using FirebaseDatabase (3.0.1)
Using FirebaseInstanceID (1.0.6)
Using GoogleInterchangeUtilities (1.2.1)
Installing GoogleNetworkingUtilities (1.2.1)
Using GoogleSymbolUtilities (1.1.1)
Using GoogleUtilities (1.3.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 10
total pods installed.

第3步

现在你应该有Firebase 3.所以你可以在你的pod文件中添加这样的框架然后pod update

# Uncomment this line to define a global platform for your project
 platform :ios, '8.0'
# Uncomment this line if you're using Swift
 use_frameworks!

target 'xMarket' do

end

target 'xMarketTests' do

end

target 'xMarketUITests' do

end

pod 'Firebase', '>= 2.5.1'
pod ‘Firebase/Core’
pod ‘Firebase/Database’
pod ‘Firebase/Auth’
祝你好运!

P.S。您还必须编辑代码库,因为Firebase 3与Firebase 2不同。请查看此处的文档Firebase 3 Examples

答案 3 :(得分:0)

以上答案看起来很棒。我只需添加一个在Firebase 2和Firebase 3之间存在许多常见差异的链接:https://firebase.google.com/support/guides/firebase-ios#get_a_database_reference_numbered

(我最初没有看到这个,昨天浪费了几个小时试图弄明白。)