feat: add native android app with capacitor (#732)

* feat: add capacitor and android app

* feat: add android build action

* fix: add capacitor zoom and fix haptics

* fix: padding on desktop
This commit is contained in:
xylight authored and GitHub committed 2026-07-15 12:42:01 -07:00
1 parent a1ccf4d9d0
commit dfe6a7e67d
50 files changed
+1168 -30

No files matched your search

@@ -0,0 +1,26 @@
package com.getcapacitor.myapp;
import static org.junit.Assert.*;
import android.content.Context;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.platform.app.InstrumentationRegistry;
import org.junit.Test;
import org.junit.runner.RunWith;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.getcapacitor.app", appContext.getPackageName());
}
}