hey guys
im getting this on xlabs for media picker?
Missing method GetString in assembly /storage/emulated/0/Android/data/CoRE.Mobile/files/.__override__/XLabs.Platform.Droid.dll, type Android.OS.BaseBundle
The class Android.OS.BaseBundle could not be loaded, used in XLabs.Platform.Droid
ive implemented the resolver container as most people have
private void SetIoc()
{
var resolverContainer = new SimpleContainer();
var app = new XFormsAppDroid();
app.Init(this);
var documents = app.AppDataDirectory;
var pathToDatabase = Path.Combine(documents, "xforms.db");
resolverContainer.Register<IDevice>(t => AndroidDevice.CurrentDevice)
.Register<IDisplay>(t => t.Resolve<IDevice>().Display)
.Register<IJsonSerializer, XLabs.Serialization.JsonNET.JsonSerializer>()
.Register<ITextToSpeechService, TextToSpeechService>()
.Register<IDependencyContainer>(resolverContainer)
.Register<IXFormsApp>(app)
.Register<ISecureStorage>(t => new KeyVaultStorage(t.Resolve<IDevice>().Id.ToCharArray()))
.Register<ISimpleCache>(
t => new SQLiteSimpleCache(new SQLite.Net.Platform.XamarinAndroid.SQLitePlatformAndroid(),
new SQLite.Net.SQLiteConnectionString(pathToDatabase, true), t.Resolve<IJsonSerializer>()));
Resolver.SetResolver(resolverContainer.GetResolver());
}
i have the permissions
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
along with some others
i even went as far as copying the MediaPicker and MediaPickerActivity files out of labs like some people have suggested...with
.Register<IMediaPicker>(t => new CoRE.Mobile.Services.MediaPicker())
no such luck
currently using Xamarin.Forms 1.3.4 and XLabs 2.0, i did try on another git branch upgrading it to latest builds but same issue
running on an Android 4.2.1 tablet?
anyone got any suggestions?