Skip to content

Instantly share code, notes, and snippets.

@mribbons
Created December 17, 2022 10:32
Show Gist options
  • Select an option

  • Save mribbons/52aa02c1df6afe8cd7a30436464dfb63 to your computer and use it in GitHub Desktop.

Select an option

Save mribbons/52aa02c1df6afe8cd7a30436464dfb63 to your computer and use it in GitHub Desktop.
android socket.ini
# Build Settings
input = "src"
build = "node build.js"
output = "dist"
executable = "SSCAndroid"
# Package Metadata
version = "0.0.1"
revision = "1"
name = "Socket SDK Android Example"
description = "A demo appliation"
lang = "en-us"
copyright = "Socket Supply Co. © 2021-2022"
maintainer = "Socket Supply Co."
bundle_identifier = "co.socketsupply.android.example"
# Window Settings
title = "SSC Example"
# Environment Settings
linux_forward_console_to_stdout = "true"
# Compiler Settings
[debug]
flags = "-O3"
debug_flags = "-g"
;
; Default configuration file for ssc v0.1.0 (111f9f7).
;
; The shell command to execute when building an application. This is the most
; important command in this file. This will do all the heavy lifting and should
; handle 99.9% of your use cases for moving files into place or tweaking
; platform-specific artifacts.
; A string that gets used in the about dialog and package meta info.
; The name of the file to be output.
executable = "boop"
; If false, the window will never be displayed.
headless = false
; Advanced Compiler Settings (ie C++ compiler -02, -03, etc).
flags = -O3
; Set the limit of files that can be opened by your process.
file_limit = 1024,
; A directory is where your application's code is located.
input = "src"
; Localization
lang = "en-us"
; A String used in the about dialog and meta info.
maintainer = "Beep Boop Corp."
; The name of the program
name = "beepboop"
; The binary output path. It's recommended to add this path to .gitignore.
output = "dist"
; TODO = "maybe the user doesn't need to know about this? "
revision = 123
; A string that indicates the version of the application. It should be a semver triple like 1.0.0
version = 0.0.1
[native]
; Files that should be added to the compile step.
files = native-module1.cc native-module2.cc
; Extra Headers
headers = native-module1.hh
[window]
; The initial height of the first window.
height = 80%
; The initial width of the first window.
width = 80%
; Advanced Compiler Settings for debug purposes (ie C++ compiler -g, etc).
flags = "-g"
[android]
sources = "src/custom.kt"
main_activity = ".ExampleMainActivity"
native_abis = "x86_64"
native_sources = "src/custom.cc"
manifest_permissions = "MANAGE_EXTERNAL_STORAGE, BLUETOOTH, BLUETOOTH_ADMIN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment