iBurnApp / iBurn-iOS

iBurn is an offline map and guide for the Burning Man art festival.
https://iburnapp.com
Mozilla Public License 2.0
70 stars 20 forks source link

Importation of Friends from New BurnerMap API #101

Open matznerd opened 5 years ago

matznerd commented 5 years ago

Hi, thank you for such a great app. I have tagged you over on the BurnerMap issue board, where I have been coordinating with the developer, @WikiWorldOrder, to build a JSON export feature for friends and their camp coordinates. The good news is he has done it and it can be found at this URL (once connected w/ fb) : https://burnermap.com/map?json=1

I am working as an independent coordinator on this feature and would love to see it in iBurn and help in any way I can.

Would it be possible to add a feature that can import this data and generate Friend's locations as pins on the map?

The TimeToBurn dev, @tginsandiego, has commented on a format for designating frontage and I would like to get your opinion on that (if different) here.

I believe this feature would be very useful in helping people create more connections with their friends because the could open the map when deep in the city and see where to stop by and go say hi. It would also save paper by getting people to print less BurnerMaps maps.

The format is currently JSON with the following parameters:

{"name":"First Last","camp":"","campUID":"","addyClock":"?:??","addyLetter":"???","frontage":"???","datesOnPlaya":"-","notes":""}

Please let me know if you plan to integrate it or not and if you have any questions.

Thank you,

Eric

matznerd commented 5 years ago

ping...

chrisballinger commented 5 years ago

The big issue is that burnermap.com uses Facebook OAuth as the only login mechanism, and I can't figure out how to recognize the cross-app auth issue. If I implemented Facebook OAuth in iBurn it wouldn't give me a valid API token for BurnerMap, if that makes sense.

This would be a great feature, I'm just not sure if it's technically possible to implement in a secure way.

warpfactorfive commented 5 years ago

Hmmm....

It might be possible to sidestep the OAuth issue -- if burnermap could generate a unique per-person code key, or keyword, the smartphone apps could use that to retrieve the users list. Since this is a read-only one-way data transfer, I wouldn't consider it much of a privacy / security risk.

T

On Sat, Jul 13, 2019 at 7:58 PM Chris Ballinger notifications@github.com wrote:

The big issue is that burnermap.com uses Facebook OAuth as the only login mechanism, and I can't figure out how to recognize the cross-app auth issue. If I implemented Facebook OAuth in iBurn it wouldn't give me a valid API token for BurnerMap, if that makes sense.

This would be a great feature, I'm just not sure if it's technically possible to implement in a secure way.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7M3WNIPOYPJLUBA7WLP7KI6RA5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ35DYI#issuecomment-511168993, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7LVPM34KV2DJGTUTNLP7KI6RANCNFSM4H5QAW3Q .

rockhopsoft commented 5 years ago

Thank you everyone! I too am skeptical of achieving cross-app authentication.

I would be open to adding a unique code key in the BurnerMap database, and perhaps Laravel has some usable plugins to help with this direction. Would this mean something like...

  1. User enter their BurnerMap code key into the Other App's account settings.
  2. Other App accesses the user's API https://burnermap.com/api?json=1&key=a978g089y34t89a723hr896h4g78hadsfua28734th484gha9sdfhaiuoy348hsdgkjahset7u
  3. Maybe I could also whitelist your servers' IPs for those links, but basically that would deliver all you need.

Do I understand this correctly? And is this a safe enough method?

And just to calibrate my radar.... How do people feel about the more manual process of just letting users download their raw data, to be uploaded into whatever other app they want to use? Could this provide the easiest integration, with the least opportunities for new risks, albeit a harder for users? Thanks!

chrisballinger commented 5 years ago

We don't have a server backend for iBurn, everything is handled entirely on the client.

I think giving each user a unique API key could work and would bypass the Facebook auth issues. Getting the UX right (in a secure way) to pass the user's API key to iBurn, Time to Burn, etc would be the main challenge.

rockhopsoft commented 5 years ago

Could users log into BurnerMap to view their API key, manually copy it, and manually paste it into iBurn, Time to Burn, etc? I'm newer to cross-app security. Is that not secure enough?

chrisballinger commented 5 years ago

For iBurn at least we could also use a deeplink scheme like:

https://iburnapp.com/link-burnermap/#a978g089y34t89a723hr896h4g78hadsfua28734th484gha9sdfhaiuoy348hsdgkjahset7u

Keeping the key itself in the anchor tag prevents it from showing up in server request logs.

Then I could register the iBurn iOS app to open links matching "https://iburnapp.com/link-burnermap/*" and import the key whenever the app is opened via that deeplink.

FWIW I don't think I'll have time to implement it this year because I have a lot on my plate to get done before the burn.

matznerd commented 5 years ago

Hi Chris (@chrisballinger), thank you and Morgan (@wikiworldorder) for continuing your work on this, I have been looking for ways to go about it that are as simple as possible. On iOS it is not easy to save/edit/upload files, however there at least does not appear to be a real limitation on clipboard size.

Is it possible to simply allow a box where we can just paste the JSON?

Would that be possible to pull off in time? I know it wouldn't update in real time or be as clean as the full API, but I would love to have some sort of MVP that works for this year. Lmk your thoughts or if there is any other barebones way we could go about it that could be included in time.

warpfactorfive commented 5 years ago

Hi all, Been busy this weekend with Comic Con, sorry about not replying sooner...

I was thinking something along the line of what happens with two-factor authentication. On burnermaps, a user could "generate smartphone code", resulting in a a six or seven digit string -- ie, 912560 -- and shows it to the user. On a smartphone a user could enter the burnermap code to retrieve their data. Each code could be time limited to be good for one hour.

Burnermap requirements: User interface button to generate smartphone code database addition to store the code and expiration time a webservice endpoint (whatever is easy to implement, SOAP, POST, etc) that provides the user data in JSON for a valid code.

App requirements: User interface to enter a code Webservice call to burnermap endpoint to retrieve the JSON Parse the JSON

On Sun, Jul 21, 2019 at 1:51 PM matznerd notifications@github.com wrote:

Hi Chris (@chrisballinger https://github.com/chrisballinger), thank you and Morgan (@wikiworldorder https://github.com/wikiworldorder) for continuing your work on this, I have been looking for ways to go about it that are as simple as possible. On iOS it is not easy to save/edit/upload files, however there at least does not appear to be a real limitation on clipboard size.

Is it possible to simply allow a box where we can just paste the JSON?

Would that be possible to pull off in time? I know it wouldn't update in real time or be as clean as the full API, but I would love to have some sort of MVP that works for this year. Lmk your thoughts or if there is any other barebones way we could go about it that could be included in time.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7INDKAHBYRMVFKR4V3QATD6RA5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OLLWY#issuecomment-513586651, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7PJ7VYWDFBTJH7OTFLQATD6RANCNFSM4H5QAW3Q .

chrisballinger commented 5 years ago

@matznerd I definitely don't have time to implement an MVP for this year, I have too much other life stuff going on. The good news is that the code is open source, so feel free to experiment on your own and submit a pull request when you're ready.

matznerd commented 5 years ago

@chrisballinger Unfortunately it is a bit outside of my wheelhouse to do, that is why I am here more as a coordinator, PM, cheerleader role 😅 I can post on the Reddit and a few other groups to help. Can you give me a little blurb that I could post to recruit someone to help? Also, I want to post to help get donations (I was going to combine it with a feature announcement and plug the 3 apps etc). Do you or iBurn have a paypal / crypto address / venmo etc? Thanks!

matznerd commented 5 years ago

@tginsandiego Hey man, were you/are you able to do an import from copy+paste of the XML from the iBurn export? I would love to announce that we got this data out there. Please let me know the status, thank you.

warpfactorfive commented 5 years ago

I am finishing up my first version, which will not have it, but the json data is awesome and I definitely want to get it into v2 which should go live middle of next week.

My biggest issue is that my first idea about how to implement it is a little clunky. This is because there isn't really a good concept of "saved files" on the iphone. So a user opens TTB and navigates to "Burner Map Import" screen, and there are instructions there:

  1. Go to burnermaps.com ("click here"), log in with your Facebook account, and click on the JSON export (and wait a few seconds)
  2. When safari shows a lot of gobbledy text, touch the "share" button then select "Copy"
  3. Come back to this screen, long touch the field that says "Paste Here" then select "Paste"
  4. Click the "Import" button

What I would prefer is something a little more automated and less prone to user error. But without delving into custom mime types, I'm not sure how else to proceed.

Terry

On Sun, Aug 11, 2019 at 3:40 PM matznerd notifications@github.com wrote:

@tginsandiego https://github.com/tginsandiego Hey man, were you/are you able to to an import from copy/paste of the XML from the iBurn export? I would love to announce that we got this data out there. Please let me know the status, thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7J7D4PYTUI3INNLPXDQECINPA5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BKJ3Y#issuecomment-520266991, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7IQTE4SKDFIRB3HCBLQECINPANCNFSM4H5QAW3Q .

matznerd commented 5 years ago

@tginsandiego Honestly I think that the copy and pasting is not an issue at all and anyone who would use this feature right now, would probably be open to doing it. I will make a simple tutorial post that will go on r/burningman, FB groups, and ePlaya and this year will be the beta. I imagine in the future we will have a button, export friends to TimeToBurn and vice versa (import friends from BurnerMap) direct with API.

I did a run-through of the proposed steps and did have an issue with step 2 though, the copying. If you tap share and then copy, that actually doesn't work to grab the text in the clipboard, it actually only grabs the url so that is an issue. image

The JSON is actually surprisingly difficult to guarantee full copying of, if I went from the top I found it very difficult to get all the way down to the last bracket on the iPhone (which if people miss will may break the import). I had to go from the bottom and copy up from there to the top. That is going to be problematic for lay people.

I believe the page needs a "Copy to Clipboard" button. @wikiworldorder Morgan, Is it possible to make a page for the export that isn't the direct JSON feed, or at least has on top a button for copying the entire text. I've found this very tiny clipboard.js (3kb) that is super simple and clean and I tested that it works with iPhone mobile Safari. https://clipboardjs.com/ and there are many others...

Do you think this or a variety of it could be added to the top of the page of the JSON export there so that you just click it and it copies the entire text to the clipboard?

@terry @tginsandiego I also had an idea that if there is the copy to clipboard button right there, there could then also be a deep link/universal link/app link, "Open TimeToBurn" that could actually open directly to the TTB Import Friends/JSON part of the app.

So on the BurnerMap export page, we have the following:

Step 1: Press [Copy Friends To Clipboard] button Step 2: [Click Here to open TimeToBurn] button .... this opens time to burn Step 3: TTB automatically pulls text from clipboard or on button press of [Paste Friends From Clipboard] (see method below) And like magic, your friends are teleported into the app :)

To implement this for BurnerMap/Morgan: At a minimum add Copy Button If Terry creates a deep link and you want to use it then have that direct link to open the app to the right page for import.

For TTB/Terry: Create and share deep link here for Morgan i.e. TimeToBurn://map/import (if this is too time-consuming then forget it) If you want this to be slick on the import side in TimeToBurn, it looks like iOS swift has a method (UIPasteboard) to pull the clipboard: https://stackoverflow.com/questions/24670290/how-to-copy-text-to-clipboard-pasteboard-with-swift https://developer.apple.com/documentation/uikit/uipasteboard Android: https://developer.android.com/guide/topics/text/copy-paste#Pasting

Thoughts?

Resources: iOS Allowing Apps and Websites to Link to Your Content Defining a Custom URL Scheme for Your App Android App links: Add Android App Links Apple App Site Association Validator (AASA) https://branch.io/resources/aasa-validator/ Deep-link example (not sure if exclusive to react apps) https://github.com/nalwayaabhishek/DeepLinkExample

warpfactorfive commented 5 years ago

Instead of copying/pasting the JSON can the burnermap site email a user their export file? If we use a custom extension (.bmapexport ?) I can register Time To Burn as a file handler for it.

On Mon, Aug 12, 2019 at 10:15 AM matznerd notifications@github.com wrote:

@tginsandiego https://github.com/tginsandiego Honestly I think that the copy and pasting is not an issue at all and anyone who would use this feature right now, would probably be open to doing it. I will make a simple tutorial post that will go on r/burningman, FB groups, and ePlaya and this year will be the beta. I imagine in the future we will have a button, export friends to TimeToBurn and vice versa (import friends from BurnerMap) direct with API.

I did a run-through of the proposed steps and did have an issue with step 2 though, the copying. If you tap share and then copy, that actually doesn't work to grab the text in the clipboard, it actually only grabs the url so that is an issue. [image: image] https://user-images.githubusercontent.com/1627881/62881113-fd5cab00-bcfc-11e9-9710-ed977faa0b8f.png

The JSON is actually surprisingly difficult to guarantee full copying of, if I went from the top I found it very difficult to get all the way down to the last bracket on the iPhone (which if people miss will may break the import). I had to go from the bottom and copy up from there to the top. That is going to be problematic for lay people.

I believe the page needs a "Copy to Clipboard" button. @wikiworldorder https://github.com/wikiworldorder Morgan, Is it possible to make a page for the export that isn't the direct JSON feed, or at least has on top a button for copying the entire text. I've found this very tiny clipboard.js https://clipboardjs.com/ (3kb) that is super simple and clean and I tested that it works with iPhone mobile Safari. https://clipboardjs.com/ and there are many others...

Do you think this or a variety of it could be added to the top of the page of the JSON export there so that you just click it and it copies the entire text to the clipboard?

@terry https://github.com/terry @tginsandiego https://github.com/tginsandiego I also had an idea that if there is the copy to clipboard button right there, there could then also be a deep link/universal link/app link, "Open TimeToBurn" that could actually open directly to the TTB Import Friends/JSON part of the app.

So on the BurnerMap export page, we have the following:

Step 1: Press [Copy Friends To Clipboard] button Step 2: [Click Here to open TimeToBurn] button .... this opens time to burn Step 3: TTB automatically pulls text from clipboard or on button press of [Paste Friends From Clipboard] (see method below) And like magic, your friends are teleported into the app :)

To implement this for BurnerMap/Morgan: At a minimum add Copy Button If Terry creates a deep link and you want to use it then have that direct link to open the app to the right page for import.

For TTB/Terry: Create and share deep link here for Morgan i.e. TimeToBurn://map/import (if this is too time-consuming then forget it) If you want this to be slick on the import side in TimeToBurn, it looks like iOS swift has a method (UIPasteboard) to pull the clipboard: https://stackoverflow.com/questions/24670290/how-to-copy-text-to-clipboard-pasteboard-with-swift https://developer.apple.com/documentation/uikit/uipasteboard Android: https://developer.android.com/guide/topics/text/copy-paste#Pasting

Thoughts?

Resources: iOS Allowing Apps and Websites to Link to Your Content https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content Defining a Custom URL Scheme for Your App https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app Android App links: Add Android App Links https://developer.android.com/studio/write/app-link-indexing Apple App Site Association Validator (AASA) https://branch.io/resources/aasa-validator/ Deep-link example (not sure if exclusive to react apps) https://github.com/nalwayaabhishek/DeepLinkExample

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7NCJRLY52DM7QVODTDQEGLC5A5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DGS2Q#issuecomment-520513898, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7MVDV2B3TIM363QNPDQEGLC5ANCNFSM4H5QAW3Q .

warpfactorfive commented 5 years ago

If we want to stick to the original approach, instead of "share -> copy" (which you said grabs the URL not the text) the user can "long touch" on the text -> Select All -> Copy to put the JSON on the clipboard

On Mon, Aug 12, 2019 at 10:32 AM Terry G terry.sd@gmail.com wrote:

Instead of copying/pasting the JSON can the burnermap site email a user their export file? If we use a custom extension (.bmapexport ?) I can register Time To Burn as a file handler for it.

On Mon, Aug 12, 2019 at 10:15 AM matznerd notifications@github.com wrote:

@tginsandiego https://github.com/tginsandiego Honestly I think that the copy and pasting is not an issue at all and anyone who would use this feature right now, would probably be open to doing it. I will make a simple tutorial post that will go on r/burningman, FB groups, and ePlaya and this year will be the beta. I imagine in the future we will have a button, export friends to TimeToBurn and vice versa (import friends from BurnerMap) direct with API.

I did a run-through of the proposed steps and did have an issue with step 2 though, the copying. If you tap share and then copy, that actually doesn't work to grab the text in the clipboard, it actually only grabs the url so that is an issue. [image: image] https://user-images.githubusercontent.com/1627881/62881113-fd5cab00-bcfc-11e9-9710-ed977faa0b8f.png

The JSON is actually surprisingly difficult to guarantee full copying of, if I went from the top I found it very difficult to get all the way down to the last bracket on the iPhone (which if people miss will may break the import). I had to go from the bottom and copy up from there to the top. That is going to be problematic for lay people.

I believe the page needs a "Copy to Clipboard" button. @wikiworldorder https://github.com/wikiworldorder Morgan, Is it possible to make a page for the export that isn't the direct JSON feed, or at least has on top a button for copying the entire text. I've found this very tiny clipboard.js https://clipboardjs.com/ (3kb) that is super simple and clean and I tested that it works with iPhone mobile Safari. https://clipboardjs.com/ and there are many others...

Do you think this or a variety of it could be added to the top of the page of the JSON export there so that you just click it and it copies the entire text to the clipboard?

@terry https://github.com/terry @tginsandiego https://github.com/tginsandiego I also had an idea that if there is the copy to clipboard button right there, there could then also be a deep link/universal link/app link, "Open TimeToBurn" that could actually open directly to the TTB Import Friends/JSON part of the app.

So on the BurnerMap export page, we have the following:

Step 1: Press [Copy Friends To Clipboard] button Step 2: [Click Here to open TimeToBurn] button .... this opens time to burn Step 3: TTB automatically pulls text from clipboard or on button press of [Paste Friends From Clipboard] (see method below) And like magic, your friends are teleported into the app :)

To implement this for BurnerMap/Morgan: At a minimum add Copy Button If Terry creates a deep link and you want to use it then have that direct link to open the app to the right page for import.

For TTB/Terry: Create and share deep link here for Morgan i.e. TimeToBurn://map/import (if this is too time-consuming then forget it) If you want this to be slick on the import side in TimeToBurn, it looks like iOS swift has a method (UIPasteboard) to pull the clipboard: https://stackoverflow.com/questions/24670290/how-to-copy-text-to-clipboard-pasteboard-with-swift https://developer.apple.com/documentation/uikit/uipasteboard Android: https://developer.android.com/guide/topics/text/copy-paste#Pasting

Thoughts?

Resources: iOS Allowing Apps and Websites to Link to Your Content https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content Defining a Custom URL Scheme for Your App https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app Android App links: Add Android App Links https://developer.android.com/studio/write/app-link-indexing Apple App Site Association Validator (AASA) https://branch.io/resources/aasa-validator/ Deep-link example (not sure if exclusive to react apps) https://github.com/nalwayaabhishek/DeepLinkExample

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7NCJRLY52DM7QVODTDQEGLC5A5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DGS2Q#issuecomment-520513898, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7MVDV2B3TIM363QNPDQEGLC5ANCNFSM4H5QAW3Q .

matznerd commented 5 years ago

On my phone I can't get the "Select All" modal to come up, I think that may only be when the text is in an editable field. image

I think the copy and then a deep link to the app would be pretty smooth. Dealing with email attachment en route to playa and downloading files (always a mess on iOS due to various email apps etc) can cause lots of issues and seems more complicated than pressing 3 buttons in rapid succession (copy, open TTB, paste).

and ps morgan: If people share on FB the BurnerMap link, and people are logging in from the FB browser, which inhibits deep links sometimes (to keep you in fb), this might be a solution. https://blog.branch.io/how-to-deep-linking-from-facebook/

warpfactorfive commented 5 years ago

Just a heads up, it looks like the camp UIDs have not been updated to

  1. Below is a snapshot of this year's Comfort & Joy API entry, and the JSON from the burnermap export: The fields uid and campuid should match but do not

[image: image.png]

[image: image.png]

On Mon, Aug 12, 2019 at 10:55 AM matznerd notifications@github.com wrote:

On my phone I can't get the "Select All" modal to come up, I think that may only be when the text is in an editable field. [image: image] https://user-images.githubusercontent.com/1627881/62885877-f4250b80-bd07-11e9-948d-bb9858054ce5.png

I think the copy and then a deep link to the app would be pretty smooth. Dealing with email attachment en route to playa and downloading files (always a mess on iOS due to various email apps etc) can cause lots of issues and seems more complicated than pressing 3 buttons in rapid succession (copy, open TTB, paste).

and ps morgan: If people share on FB the BurnerMap link, and people are logging in from the FB browser, which inhibits deep links sometimes (to keep you in fb), this might be a solution. https://blog.branch.io/how-to-deep-linking-from-facebook/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7I4PR7L7FAMU65PQOLQEGP2BA5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DKGQI#issuecomment-520528705, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7P3RDACOJXRNPVWIL3QEGP2BANCNFSM4H5QAW3Q .

warpfactorfive commented 5 years ago

I could not get the data directly to import, but I could (see snapshot) register Time To Burn to handle files of type "json", such as an email attachment. Can burnermap email the json file, as an attachment, to a user?

T.

[image: image.png]

On Mon, Aug 12, 2019 at 9:04 PM Terry G terry.sd@gmail.com wrote:

Just a heads up, it looks like the camp UIDs have not been updated to

  1. Below is a snapshot of this year's Comfort & Joy API entry, and the JSON from the burnermap export: The fields uid and campuid should match but do not

[image: image.png]

[image: image.png]

On Mon, Aug 12, 2019 at 10:55 AM matznerd notifications@github.com wrote:

On my phone I can't get the "Select All" modal to come up, I think that may only be when the text is in an editable field. [image: image] https://user-images.githubusercontent.com/1627881/62885877-f4250b80-bd07-11e9-948d-bb9858054ce5.png

I think the copy and then a deep link to the app would be pretty smooth. Dealing with email attachment en route to playa and downloading files (always a mess on iOS due to various email apps etc) can cause lots of issues and seems more complicated than pressing 3 buttons in rapid succession (copy, open TTB, paste).

and ps morgan: If people share on FB the BurnerMap link, and people are logging in from the FB browser, which inhibits deep links sometimes (to keep you in fb), this might be a solution. https://blog.branch.io/how-to-deep-linking-from-facebook/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iBurnApp/iBurn-iOS/issues/101?email_source=notifications&email_token=ABKNI7I4PR7L7FAMU65PQOLQEGP2BA5CNFSM4H5QAW32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DKGQI#issuecomment-520528705, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKNI7P3RDACOJXRNPVWIL3QEGP2BANCNFSM4H5QAW3Q .

rockhopsoft commented 5 years ago

Just a heads up, it looks like the camp UIDs have not been updated to 2019. Below is a snapshot of this year's Comfort & Joy API entry, and the JSON from the burnermap export: The fields uid and campuid should match but do not

Thanks @tginsandiego, I didn't realize the new API was out. I've just updated it ;)

rockhopsoft commented 5 years ago

I could not get the data directly to import, but I could (see snapshot) register Time To Burn to handle files of type "json", such as an email attachment. Can burnermap email the json file, as an attachment, to a user? T.

Unfortunately, the app isn't setup to send email yet, and I won't have time to before hitting the playa in 7 days ;-/ <3

rockhopsoft commented 5 years ago

Hi again @matznerd and team!-) I've just split off my BurnerMap export tools into it's own page, linked to below each user's map: https://burnermap.com/map-json

It now also has a textarea field where the user's json export is also copied. I'm hoping that field will better enable more users to use the Select All feature for the most simple copy & paste method.

And @tginsandiego , When that page prompts an automatic file download, the filename also now has a new custom extension, e.g. BurnerMap_Export_2019-08-13.json.bmapexport .

I hope these steps help!-)