Fork me on GitHub
#cljsrn
<
2017-01-23
>
Pishty00:01:48

Hello guys, i am trying to use react-native-facebook-login and just wondering when i set up the facebook app to get the app Id etc, what shall i put down as the auth call back url

wojciech06:01:05

@pishty Out of curiosity, why don't you want to use the official FB's react native client: https://github.com/facebook/react-native-fbsdk ?

wojciech06:01:28

To answer your question, it doesn't matter - the callback URL is not used at all. If they validate the field you can put localhost, or whatever you want - that's for web auth calls

raspasov14:01:39

hey guys, I’ve spent the last two days trying to make our currently iOS only React Native app to run on Android

raspasov14:01:09

I just spent 1/2 day to figure out that I was running into this bug https://github.com/facebook/react-native/issues/8968

raspasov14:01:36

does anyone have experience dealing with z-index on Android?

vikeri14:01:39

@raspasov Sat with it the other week and ultimately gave up and redesigned it for Android...

raspasov14:01:10

@vikeri did you run into the z-index mess they have?

raspasov14:01:19

there’s ideas/hacks in the comment thread

raspasov14:01:34

I’ll try them, just wondering what you experience was like

vikeri14:01:56

@raspasov I didn’t find a solution so I just gave up 😝

raspasov14:01:11

ok 🙂 so by redesign what do you mean?

raspasov14:01:19

just started all the components from more or less 0 ?

vikeri14:01:33

Moved the element so that they didn’t overlap in Android.

raspasov14:01:06

yea… we have a moderately component-intensive app and a lot of things were designed to come on top

raspasov14:01:47

I figured out a “hack” in my commenting out line by line for 3 hours

raspasov14:01:36

the component underneath has to receive the same z-index when the component on top hides

raspasov14:01:10

that’s super hack, I know; I don’t even know if it will really work with more than a few components (haven’t tried)

raspasov14:01:25

there’s another suggestion in the thread - via applying styles

raspasov14:01:50

look for “Hideable” in the link

raspasov14:01:53

Also (I think)

raspasov14:01:52

if you follow this, aka use the order in the render tree, it *seems* to work

raspasov14:01:04

but I’ll be testing it some more

vikeri15:01:06

@raspasov Alright good to hear, so far we have quite straight forward render trees so it hasn’t been a major issue.

ejelome20:01:58

would it be strange to use datomic with re-natal?

ejelome20:01:13

or the better question is, is it even possible

mruzekw21:01:12

I’d probably use Datascript then some way persist that on the device

ejelome21:01:20

hmmm ... :thinking_face: but isn't datascript is for client side, what if you just want to send data from a server (datomic) to the client (android)

ejelome21:01:07

basically, replacing rdbms or nosql with datomic

mruzekw21:01:30

You can use any backend with re-natal, so using Datomic on the server seems doable and appropriate

mruzekw21:01:03

I thought you meant client-side originally

ejelome21:01:19

oh, yeah, sorry about that, but tbh, I'm still more on reading about it, not much idea how it actually keeps data, or does it even keep data, or it needs another database for persistence and it's just some sort of glue between the client and the storage

mruzekw21:01:59

Client-side database isn’t unheard of

ejelome21:01:33

I mean the datomic XD

ejelome21:01:15

but I guess I'm confusing it with re-natal

ejelome21:01:09

though I got some hopes up, thanks @mruzekw 😄 I'll move this to #datomic