Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Cathje
    @Cathje
    HI all, I'm trying to develop a react-native app that works on ios and reads blucon (freestyle libre) data and uploads it to the nightscout site. I'm already able to read previously inputted entries (with an android app) from the NS API. However, posting entries gives me a network failed due to 'unauthorized' and no 'Access-Control-Allow-Origin'-error. I created a device-upload role. I added the same permissions as the rig and used the generated accesstoken from the admin page in the network call (https://mysite.herokuapp.com/api/v1/entries.json?token=iosupload-123456789012. I also added cors to the enable config variable of heroku and cors_allow_origin to *. Am I still missing something ? Or does anyone has an example on how to do a fetch to an authorize-protected call?
    Miguel Kennedy
    @miguelkennedy
    @Cathje don't know if you're aware but there's already an app for iOS that reads blucon and uploads to nightscout https://github.com/JohanDegraeve/iosxdripreader
    Cathje
    @Cathje
    Thank you very much for the quick answer. I tried that one 2 days ago and although I have a developers account in ios and I could upload the ipa file to my phone, It gave a general error message that the app could not be installed. Since the error message is so general, I had no idea where to look. I tried a different developer account, different certificate, ... but no luck. So , since I'm a developer myself , I had hoped to write the app in a technology I know and add features along the way. If I could just get already the values in the nightscout site.. then I'm up and running for the first part of the loop.
    Miguel Kennedy
    @miguelkennedy
    @Cathje that's a problem with the signing of the ipa... you can join https://gitter.im/nightscout/iosxdripreader and I'm sure someone will help you out with the signing
    Cathje
    @Cathje
    @miguelkennedy : Thanks. I'll try that.
    Chris Walters
    @chwalters
    Hello, I'm new here. I've been working on the iOS app for Glucosio and learned from Ben Kerensa that perhaps this project could use some iOS help? Where can I ask questions about the iOS aspects of Nightscout?
    Scott Leibrand
    @scottleibrand
    Much of the more recent discussion is in https://gitter.im/OpenAPSApp/Lobby
    Andrew Ditmer is also one of the ones involved in the non-OpenAPS-specific Nightscout app efforts.
    Chris Walters
    @chwalters
    Thanks I will join that group
    Scott Leibrand
    @scottleibrand
    does anyone here know how hard it'd be to update ios-monitor to take advantage of the iPhone X screen height? nightscout/ios-monitor#19
    Pete
    @someoneAnyone
    @scottleibrand I don't think it would be too hard to recompile the app but I dont know if anyone is able to republish the app in the app store.
    the project has been stale for years.
    Scott Leibrand
    @scottleibrand
    Yeah, we’d have to see if anyone still has the App Store credentials. I’d be interested to see how many active users the app has...
    For now I’ve switched to a home screen app icon and manually disable my screen auto-lock before bed.
    John Costik
    @hackingtype1
    I can probably update it this week.
    kenstack
    @kenstack
    @hackingtype1 thanks! Ive noticed that is crashes on startup sometimes wakeup with ios 11 - restarting it once generally works
    Scott Leibrand
    @scottleibrand
    I think the crashes are caused by a memory leak in the web app. In Chrome on MacOS the tabs often crash after being open a long time.
    Thanks @hackingtype1
    Pete
    @someoneAnyone
    nightscout/ios-monitor#20
    Pete
    @someoneAnyone
    FYI my last post was a pr to update the Xcode project and layout for newer versions of iOS. @scottleibrand and @hackingtype1
    John Costik
    @hackingtype1
    Thanks @someoneAnyone, looks good & that’s a big help. I’m traveling this week, but I should have time to merge, test & update it in the store by Friday.
    Pete
    @someoneAnyone
    @hackingtype1 - not a problem hope it works ok.
    i don’t have an iphone x to test on
    Scott Leibrand
    @scottleibrand
    Happy to test via TestFlight or similar if we want to do that before release. I haven’t tried to compile it myself yet, but could also do that if needed.
    Pete
    @someoneAnyone
    It works in the sim.
    John Costik
    @hackingtype1
    Hi, I’ve been swamped this week, but I’ve blocked time on Monday to get this done - sorry for the delay.
    kenstack
    @kenstack
    @hackingtype1 jeez ... it’s not like you have a day job .... :)
    Jeremy M Lucas (GetRileyLink.org)
    @jlucasvt
    :+1:
    John Costik
    @hackingtype1
    Haven’t forgotten about this;) g6 approval and vacation pulled me away for a bit. Targeting this week to test & deploy to store.
    Matteo Neri
    @francescaneri
    Thanks @hackingtype1
    loopkit should also be updated
    :smile:
    Pete
    @someoneAnyone
    👍🏻
    John Costik
    @hackingtype1
    @scottleibrand do you have write access to the iOS-monitor repo? Apparently I don’t anymore. If you can give me those rights back, that’d be great, otherwise I just move the repo and merge @someoneAnyone ‘s PR there.
    Scott Leibrand
    @scottleibrand
    I probably do, let me check
    added you as a collaborator on ios-monitor
    EricCarbonn
    @Ericcarbonn
    Is there any way to keep Nightscout from resetting the view settings to default and loosing the « authorized » status ?
    Chuck Vann
    @djtechman
    Has anyone built.. or anyone want to help build a conduit for pulling data from apple health api into nightscout? We have a smart pen that posts to apple health... we want to pull the IOB/bolus info from that into NS, for use with the BWP pill
    :)
    Martin Haeberli
    @mhaeberli
    suggest you also think about TidePool integration (and yes, TidePool is thinking about doing NightScout integration, if they haven’t done it already)
    Andrew Ditmer
    @aditmer
    Yes, I’m talking with Lenhart about a Tidepool bridge
    Martin Haeberli
    @mhaeberli
    :+1:
    GlennCoco
    @GlennCoco
    @Ericcarbonn I would also like to get a solution to this, did you get any resolution for the resetting of authorized settings?
    EricCarbonn
    @Ericcarbonn
    No I have not found a solution to this problem. Maybe by using chrome browser, but that defeats the purpose of having a dedicated app.