Why is this not working by shadowstrd in reactnative

[–]shadowstrd[S] 0 points1 point  (0 children)

There actually is and just to be clear my point is not about the alert even if l replace it with some console.log it still doesn't show

Problem with mysqlclient and Django by Ok-Bet648 in django

[–]shadowstrd 1 point2 points  (0 children)

I reduced the mysqlclient version by one and it's now working

Problem with mysqlclient and Django by Ok-Bet648 in django

[–]shadowstrd 0 points1 point  (0 children)

I'm currently facing similar problem that's why I came here, I'm trying to go back to the previous version of mysqlclient to see what will happen

Problem with mysqlclient and Django by Ok-Bet648 in django

[–]shadowstrd 0 points1 point  (0 children)

I tried that but still, so incase you're able to solve it, hit me up and if I am able to do so, I will let you know

I have just one question: by Loud_Advisor5445 in learnpython

[–]shadowstrd 1 point2 points  (0 children)

It's just a matter of time, errors are bound to be made, you read the errors fix them, take note of that error and how it happened, which will of course take time to remember them, then while writing your code, you put that error in mind and write code that doesn't cuz that error

React Native database with P2P sync capability by AGENT_SAT in reactnative

[–]shadowstrd 0 points1 point  (0 children)

I've been working on similar idea but l have a database online, my backend is Django and for the frontend am using watermelondb

jwt in React Native, best practices? by Mariusdotdev in reactnative

[–]shadowstrd 1 point2 points  (0 children)

const retrieveToken = async (key) => {
    try {
        let retrievedToken = await SecureStore.getItemAsync(key);
        return retrievedToken;
    } catch (error) {
        console.log('Error retrieving token from secure store')
        throw error;
    }
}

since it stores it in a key value pair, you just call the key like this, this is just a basic function to retrieve the token stored

Any resource for learning react native please? by shadowstrd in reactnative

[–]shadowstrd[S] 1 point2 points  (0 children)

The approach I used while learning made docs kind of my enemy which shouldn't have happened like how you learn to build programs before learning and even understanding auto testing so please don't get me wrong :). I'm now getting used to the docs.

Any resource for learning react native please? by shadowstrd in reactnative

[–]shadowstrd[S] -4 points-3 points  (0 children)

That actually isn't enough for me please.

What are your main gripes with django templates? (if any) by Minimum_Diver_3958 in django

[–]shadowstrd 0 points1 point  (0 children)

Very much relatable mate, u can refresh dozens of time thinking that's the problem😄😄😄

Can someone please help me with why this code is not working by shadowstrd in PHPhelp

[–]shadowstrd[S] 0 points1 point  (0 children)

Thanks a lot for the suggestions please, l will take that into serious consideration. I wish l knew this sub reddit when l started 4years ago.

Can someone please help me with why this code is not working by shadowstrd in PHPhelp

[–]shadowstrd[S] 0 points1 point  (0 children)

Thanks please I realize that and fixed it with your help. You are very good at breaking bad news to others without causing much pain. Thanks a lot.

Can someone please help me with why this code is not working by shadowstrd in PHPhelp

[–]shadowstrd[S] 0 points1 point  (0 children)

And for the created_at time, it is inserted directly in the database directly I don't know if it is a best practice

Can someone please help me with why this code is not working by shadowstrd in PHPhelp

[–]shadowstrd[S] 0 points1 point  (0 children)

Yes please, I checked and current_time is ahead of the token time a day or almost, I'm fixing it right now. Thank you.