-
Couldn't load subscription status.
- Fork 2
chore: Add basic example for flutter. #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...hdarkly/launchdarkly_flutter_observability/example/android/app/src/debug/AndroidManifest.xml
Show resolved
Hide resolved
| @@ -0,0 +1,45 @@ | |||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |||
Check warning
Code scanning / devskim
An HTTP-based URL without TLS was detected. Warning
| @@ -0,0 +1,12 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <!-- Modify this file to customize your launch splash screen --> | |||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |||
Check warning
Code scanning / devskim
An HTTP-based URL without TLS was detected. Warning
| @@ -0,0 +1,12 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <!-- Modify this file to customize your launch splash screen --> | |||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |||
Check warning
Code scanning / devskim
An HTTP-based URL without TLS was detected. Warning
| @@ -0,0 +1,7 @@ | |||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |||
Check warning
Code scanning / devskim
An HTTP-based URL without TLS was detected. Warning
| # Configuration provided via flutter tool. | ||
| include(${EPHEMERAL_DIR}/generated_config.cmake) | ||
|
|
||
| # TODO: Move the rest of this into files in ephemeral. See |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
| # Configuration provided via flutter tool. | ||
| include(${EPHEMERAL_DIR}/generated_config.cmake) | ||
|
|
||
| # TODO: Move the rest of this into files in ephemeral. See |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
| CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, | ||
| -1, nullptr, 0, nullptr, nullptr) | ||
| -1; // remove the trailing null character | ||
| int input_length = (int)wcslen(utf16_string); |
Check warning
Code scanning / devskim
These functions are historically error-prone and have been associated with a significant number of vulnerabilities. Most of these functions have safer alternatives, such as replacing 'strcpy' with 'strlcpy' or 'strcpy_s'. Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
129 generated files, 1 actual authored file 😅
sdk/@launchdarkly/launchdarkly_flutter_observability/example/lib/main.dart
Show resolved
Hide resolved
Not as bad as |
Summary
Adds a basic flutter example. This example will be extended as features are added. Right now it is basically the minimum.
The only actual code is
example/lib/main.dart. Everything else is generated.