kotlin/native call android classes inside android specific module?

79
November 01, 2018, at 11:30 PM

is it possible to call android classes like canvas, for example, from K/N android specific module? For some reason, by creating project from zero by guide from https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html I can only use java stuff from android module. I think it has something with

fromPreset(presets.jvm, 'android')

yet, not sure, any advices? Btw, new intellij ide creates multiplatform project for android/ios in the way not even close to what I see in the guide above. this is so confusing atm.

READ ALSO
How to refactor the error handling for a method with multiple steps?

How to refactor the error handling for a method with multiple steps?

I have a method that comprises of 5 stepsEach step is a network call that may fail with a 403,404 etc

109
How can i set a intervall to Notification.FLAG_INSISTENT?

How can i set a intervall to Notification.FLAG_INSISTENT?

I am using NotificationFLAG_INSISTENT to repeat the notification sound

60
Connect Paypal Payment with firebase functions/Google Cloud Functions [on hold]

Connect Paypal Payment with firebase functions/Google Cloud Functions [on hold]

Is there a way to connect the Paypal Payment ('Sandbox') with a Firebase Function to the Firebase Database for enabling secure payment? I found this guidance https://githubcom/firebase/functions-samples/tree/master/paypal but I don't get how to install...

107