Giter Club home page Giter Club logo

Comments (11)

qingchanghan avatar qingchanghan commented on June 25, 2024 6

How did you resolve it?

from react-native-background-geolocation.

sdb1228 avatar sdb1228 commented on June 25, 2024 3

I am an idiot figured it out.

from react-native-background-geolocation.

jerinho avatar jerinho commented on June 25, 2024 3

Sorry guys! You are right totally unprofessional. I posted the repo I used above https://github.com/sdb1228/RNbackgroundLocationTest And I am trying to recall how it was broken originally. If you guys have a repo I can look at I can help debug since I was the original one to open this ticket!

Edit: Are you trying to define a render func inside the component that is using Background-geolocator

wow. almost a year before you figured out your misbehavior. and now your brain was cleared out already. hopefully we don't have too many guys like you. i'm facing this issue and what's more annoying is google misled me here. I think the best what you should do is provide us the solution or delete this thread

from react-native-background-geolocation.

tomatopeel avatar tomatopeel commented on June 25, 2024

@sdb1228 real bad etiquette to say that and not post the resolution... Having the same problem, guess I'm also an idiot and will have to figure it out the long way now :-)

Edit: I guess it's that the render function isn't defined.

from react-native-background-geolocation.

sdb1228 avatar sdb1228 commented on June 25, 2024

Sorry guys! You are right totally unprofessional. I posted the repo I used above https://github.com/sdb1228/RNbackgroundLocationTest And I am trying to recall how it was broken originally. If you guys have a repo I can look at I can help debug since I was the original one to open this ticket!

Edit: Are you trying to define a render func inside the component that is using Background-geolocator

from react-native-background-geolocation.

tomatopeel avatar tomatopeel commented on June 25, 2024

I think it's just that this library should be used in the componentWillMount() function on any component of your choice in your project, rather than trying to use a standalone component for this (originally I'd just copy-pasted the example code, but it seems to work if I just copy-paste the code from the componentWillMount() method to one of my components, still need to test this further but no errors are produced and the debug line in the console confirms that it is started).

from react-native-background-geolocation.

mauron85 avatar mauron85 commented on June 25, 2024

I can't help here. Original example repo is dead and there is no information how to reproduce this. Anyway, regarding componentWillMount my comment might be helpful.

#79 (comment)

from react-native-background-geolocation.

sdb1228 avatar sdb1228 commented on June 25, 2024

@tomatopeel I can reopen this if you can give us a repo with a reproduction. I would love to help with since I didn't post the solution originally. I apologize again though for not telling you what was the solution was.

from react-native-background-geolocation.

tomatopeel avatar tomatopeel commented on June 25, 2024

@sdb1228 no it's fine haha, this error is just caused by the absence of the render function in a component. Thanks for getting back in touch anyway! :)

from react-native-background-geolocation.

sdb1228 avatar sdb1228 commented on June 25, 2024

Sorry again @jerinho! Totally understand the unprofessionalism that came here. Would love to help if you have a repo that has the problem reproduced. Otherwise have you tried another solution in this thread?

from react-native-background-geolocation.

vimalloc avatar vimalloc commented on June 25, 2024

wow. almost a year before you figured out your misbehavior. and now your brain was cleared out already. hopefully we don’t have too many guys like you.

...have you ever gone back and looked at code written a long time ago with no current context around it? We are humans here, not machines that remembers everything we did over a year ago.

hopefully we don’t have too many guys like you

That attitude is not going to get you anywhere. This is an open source project, where people have written a bunch of code and are letting you use it for free. No one owes you anything here.

i'm facing this issue and what's more annoying is google misled me here. I think the best what you should do is provide us the solution or delete this thread

That’s simply not how github and open source works. If you are having an issue with the library, open a new issue. That is way more likely to get seen then necro numbing an issue that has been closed for over 2 years.

from react-native-background-geolocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.