- Register ACTION_SEND IntentFilter for image/* in AndroidManifest - Kotlin MethodChannel bridge: extract image URI, original filename, resolve to file - Flutter bottom sheet UI: thumbnail preview, note input (200 char), submit/cancel - Upload service: multipart POST, Bearer auth, 10MB limit, offline cache, exponential backoff retry - Configurable server URL and API token via SharedPreferences - Minimal home screen with usage instructions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
451 B
C
22 lines
451 B
C
#ifndef FLUTTER_MY_APPLICATION_H_
|
|
#define FLUTTER_MY_APPLICATION_H_
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
G_DECLARE_FINAL_TYPE(MyApplication,
|
|
my_application,
|
|
MY,
|
|
APPLICATION,
|
|
GtkApplication)
|
|
|
|
/**
|
|
* my_application_new:
|
|
*
|
|
* Creates a new Flutter-based application.
|
|
*
|
|
* Returns: a new #MyApplication.
|
|
*/
|
|
MyApplication* my_application_new();
|
|
|
|
#endif // FLUTTER_MY_APPLICATION_H_
|