RafaelKr commented on issue #647: feat(android): Ask for file permission when 
opening a download link (CB-12834) (rebased)
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/pull/647#issuecomment-600850358
 
 
   I think using Android String resources would be the best way.
   
   Defaults can be set in the plugin.xml like this: 
https://github.com/ionic-team/cordova-plugin-ionic/blob/63092070ca2e45564f0c4af0f8abda2f2e728b05/plugin.xml#L63
 (Using strings instead of the variables, of course)
   The user can then overwrite/extend it for his languages in his config.xml by 
putting a `config-file` block into `<platform name="android">...</platform>`.
   
   The approach described here could be used to substitute the filename: 
https://stackoverflow.com/a/3656409/4303873

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to