Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(devtools): removed err return of getNetworkConfig on both iOS, A…
…ndroid and RN
- Loading branch information
Showing
7 changed files
with
92 additions
and
79 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
client/react-native/android/.settings/org.eclipse.buildship.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Wed Nov 07 15:32:05 CET 2018 | ||
#Fri Nov 09 15:06:42 CET 2018 | ||
connection.project.dir= |
2 changes: 1 addition & 1 deletion
2
client/react-native/android/app/.settings/org.eclipse.buildship.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Wed Nov 07 15:32:06 CET 2018 | ||
#Fri Nov 09 15:06:42 CET 2018 | ||
connection.project.dir=.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package core | ||
|
||
// This file contain the configuration by default | ||
|
||
// Initial configs will be used to set default settings in state DB | ||
// (when the app has never been launched before) | ||
var ( | ||
initialNetConf = networkConfig{ | ||
DefaultTransport: true, | ||
BluetoothTransport: false, | ||
DefaultBootstrap: true, | ||
CustomBootstrap: []string{}, | ||
MDNS: false, | ||
Relay: false, | ||
} | ||
|
||
initialBotMode = false | ||
) | ||
|
||
// Default configs will be used to set default settings but not saved in state DB | ||
const ( | ||
defaultBind = "/ip4/0.0.0.0/tcp/0" | ||
defaultBLEBind = "/ble/00000000-0000-0000-0000-000000000000" | ||
defaultMetrics = true | ||
defaultIdentity = "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters