update doric project template
This commit is contained in:
@@ -28,8 +28,8 @@ android {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation "pub.doric:core:0.2.3"
|
||||
debugImplementation "pub.doric:core:0.2.3"
|
||||
implementation "pub.doric:core:0.3.8"
|
||||
debugImplementation "pub.doric:core:0.3.8"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -16,7 +16,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
setContentView(R.layout.activity_main);
|
||||
if (savedInstanceState == null) {
|
||||
String source = "assets://src/" + BUNDLE_NAME + ".js";
|
||||
getIntent().putExtra("source", scheme);
|
||||
getIntent().putExtra("source", source);
|
||||
getIntent().putExtra("alias", BUNDLE_NAME);
|
||||
this.getSupportFragmentManager().beginTransaction().add(R.id.root, new DoricFragment()).commit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user