我正在为 Xamarin android 和 iOS 使用 Kinvey db。它适用于 Android。在 iOS 模拟器中它工作正常,但在设备中它不工作。它给了我错误
Unable to find a constructor to use for type KinveyXamarin.KinveyAuthResponse. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'username', line 1, position 12.
我正在尝试下面的代码
private Client myClient;
myClient = new Client.Builder ("kid_PeYFqjBcBJ","3fee066a01784e2ab32a255151ff761b").build ();
await myClient.User ().LoginAsync ();