2013-11-04 95 views
1

我有兩個使用Google(docs)Picker API的Dart項目。一個是「原始」Dart,另一個使用Polymer框架。Dart聚合物Google Picker

我有一個很大的問題,即在「原始」飛鏢項目工作正常,但聚合物崩潰Dartium當我打電話:

var picker = new google.picker.PickerBuilder().addView(google.picker.ViewId.SPREADSHEETS).setDeveloperKey(developerKey).setCallback(pickerCallback).setOrigin(window.location.protocol + '//' + window.location.host).build(); 

// Add the view to the DOM 
picker.setVisible(true); 

它實際上是導致Dartium崩潰picker.setVisible(true);

你能想到爲什麼會這樣嗎?沒有錯誤拋出,直接進入「Aw,Snap!」。

UPDATE:

這個問題是固定最新的SDK版本0.8.10.3_r29803

回答

0

使用了最新的 「包:google_oauth2_client/google_oauth2_browser.dart」;與Picker API。顯示問題在飛鏢版本1中得到修復