tharak-android 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,27 +0,0 @@
|
|
1
|
-
package org.thiragatisoft.core;
|
2
|
-
|
3
|
-
|
4
|
-
import android.os.Bundle;
|
5
|
-
import com.getcapacitor.Plugin;
|
6
|
-
import org.thiragatisoft.core.http.Http;
|
7
|
-
import java.util.ArrayList;
|
8
|
-
import java.util.HashMap;
|
9
|
-
|
10
|
-
public class MainActivity extends VitalActivity {
|
11
|
-
private static final String TAG = "MainActivity";
|
12
|
-
private static final HashMap<String, String> callbacks = new HashMap<>();
|
13
|
-
@Override
|
14
|
-
public void onCreate(Bundle savedInstanceState) {
|
15
|
-
super.onCreate(savedInstanceState);
|
16
|
-
|
17
|
-
// Initializes the Bridge
|
18
|
-
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
|
19
|
-
// Additional plugins you've installed go here
|
20
|
-
// Ex: add(TotallyAwesomePlugin.class);
|
21
|
-
add(AppUtils.class);
|
22
|
-
add(RestClient.class);
|
23
|
-
add(Http.class);
|
24
|
-
add(FileSelector.class);
|
25
|
-
}});
|
26
|
-
}
|
27
|
-
}
|