react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[Android] How to set host and port in code

Open Leon1809 opened this issue 10 years ago • 2 comments

Hello, We cannot find anywhere to set host and port in code for Android React. (In IOS, we only need to modify : \ios\AwesomeProject\AppDelegate.m)

On Android platform, React is now popup a window to ask user setting host & port, while we could not use this to release as a product to user, right?

We find some "solutions" while they does not work.

So could you please tell us the way to set host & port in code(or something like configuration file) for Android React?

Thank you very much.

Leon1809 avatar Mar 23 '16 08:03 Leon1809

@facebook-github-bot stack-overflow

ide avatar Mar 23 '16 09:03 ide

Hey @Leon1809 and thanks for posting this! @ide tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

facebook-github-bot avatar Mar 23 '16 09:03 facebook-github-bot