Nice! > Network activity is explicitly allowed on UI thread (see AppModule class) as > Cayenne temp-id generator looks up local host address (maybe this should be > changed in Cayenne).
Hugi recently mentioned that this exact place in IDUtil is causing problems in High Sierra (I haven't experienced it myself, but maybe I haven't inserted any objects since the upgrade :)). So I'd say we rewrite it replacing IDUtil.ipAddress field with a value read from a SecureRandom on IDUtil class initialization? Andrus > On Dec 18, 2017, at 2:32 PM, Nikita Timofeev <[email protected]> > wrote: > > Hi all, > > I've made some research and managed to start Cayenne on Android. It > sure have limitations on Android, > but surprisingly it works even without any modifications on Cayenne side. > Here is a little demo app with Cayenne 4.0.B2 [1], feel free to use it > as you like. > > [1] https://github.com/stariy95/cayenne-android-demo > > On Mon, Dec 11, 2017 at 7:27 PM, Andrus Adamchik <[email protected]> > wrote: >> And if we identify specific problematic APIs, we can consider rewriting >> those pieces in Cayenne. >> >> Andrus >> >> >>> On Dec 11, 2017, at 11:16 AM, John Huss <[email protected]> wrote: >>> >>> I tried a few years ago and got a very basic version running. It was >>> challenging since Android wasn't a full implementation of java. For >>> example the java.beans package was missing. I think Android may have >>> improved this situation since then though... depends how old of an android >>> version you're targeting maybe. >>> >>> Try it first, and if you have problems there is some info in the JIRA about >>> what I did. >>> >>> On Mon, Dec 11, 2017 at 10:10 AM Ken Anderson <[email protected]> wrote: >>> >>>> Has anyone used Cayenne on Android? I’m considering making an android >>>> equivalent of an iOS app that uses Core Data. It would be great to have an >>>> ORM on the Android side. >>>> >>>> Thanks for any thoughts! >>>> >>>> Ken >> > > > > -- > Best regards, > Nikita Timofeev
