Open HiroHosono opened 7 years ago
iOSで作ったアプリをandroidに移植しようとしています。 queryのwhereWithinKilometersで距離(100m)を指定しようと0.1を設定したら整数(Int)ではないと怒られてしまいました。 (iOS版SDKでは引数はDouble型だったので問題なく0.1を指定できました。) android版では100mは指定できないのでしょうか? Kilometersという名前だけどm単位で指定して100を指定すればOK?
http://mb.cloud.nifty.com/assets/sdk_doc/android/javadoc/com/nifty/cloud/mb/core/NCMBQuery.html#whereWithinKilometers-java.lang.String-android.location.Location-int-
あら1.5系だとdoubleなので、SDK側の問題に見えますね。Android SDKのIssueに登録してもらえますか?
https://github.com/NIFTYCloud-mbaas/ncmb_android/issues
回答ありがとうございます。 Android SDKのIssue#99として登録しました。
iOSで作ったアプリをandroidに移植しようとしています。 queryのwhereWithinKilometersで距離(100m)を指定しようと0.1を設定したら整数(Int)ではないと怒られてしまいました。 (iOS版SDKでは引数はDouble型だったので問題なく0.1を指定できました。) android版では100mは指定できないのでしょうか? Kilometersという名前だけどm単位で指定して100を指定すればOK?