I'm creating a commercial app for truck drivers to find delivery customers for both android and ios, using b4xpages. It displays a list of customers and when one is touched, it gives some basic info such as paid miles and gps coords. then the Maps button can be touched to cause google maps to be launched via an intent to drop a pin and zoom in.
my question is this: every now and then, a customer moves to a new location, changes names, goes away or a new one needs added to the list. I *WAS* going to do this by emailing a base64 encoded list to the drivers, with instructions to copy the email via select all then switch back to my app which would catch the clipboard info, decode it, and save the new list and/or settings to internal safe storage. but... leave it to apple lol... ios 15 has a new security feature which blocks clipboard transfers between apps.
I am at a loss as to how to get a simple 8k text file from the app on one phone (using admin access within the app) to another. I was thinking about just sending the files as email attachments and having the drivers save them, but newer versions of os's can make snooping around internal storage for a file difficult, if possible at all. I can't upload the file to a server the drivers app could download from because it's not an official company app, it's just something I'm doing for the other drivers. and I love to code ? I'm also wondering about what happens from within the email app once an attachment is touched. If there was just some way to coax the email app to hand the file off to my app via an intent of something, that'd be great. but I'm afraid my knowledge is too limited to get that to work lol
any ideas appreciated. thx!!!
my question is this: every now and then, a customer moves to a new location, changes names, goes away or a new one needs added to the list. I *WAS* going to do this by emailing a base64 encoded list to the drivers, with instructions to copy the email via select all then switch back to my app which would catch the clipboard info, decode it, and save the new list and/or settings to internal safe storage. but... leave it to apple lol... ios 15 has a new security feature which blocks clipboard transfers between apps.
I am at a loss as to how to get a simple 8k text file from the app on one phone (using admin access within the app) to another. I was thinking about just sending the files as email attachments and having the drivers save them, but newer versions of os's can make snooping around internal storage for a file difficult, if possible at all. I can't upload the file to a server the drivers app could download from because it's not an official company app, it's just something I'm doing for the other drivers. and I love to code ? I'm also wondering about what happens from within the email app once an attachment is touched. If there was just some way to coax the email app to hand the file off to my app via an intent of something, that'd be great. but I'm afraid my knowledge is too limited to get that to work lol
any ideas appreciated. thx!!!