mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
Bump dependencies
They now explicitly depend on androidx.
This commit is contained in:
@ -1,35 +0,0 @@
|
||||
package io.gitjournal.gitjournal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.app.Activity;
|
||||
import android.net.*;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class UriReceiverActivity extends Activity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
Uri data = getIntent().getData();
|
||||
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("URL", data.toString());
|
||||
|
||||
MainActivity.channel.invokeMethod("onURL", map);
|
||||
|
||||
// Now that all data has been sent back to Dart-land, we should re-open the Flutter
|
||||
// activity. Due to the manifest-setting of the MainActivity ("singleTop), only a single
|
||||
// instance will exist, popping the old one back up and destroying the preceding
|
||||
// activities on the backstack, such as the custom tab.
|
||||
// Flags taken from how the AppAuth-library accomplishes the same thing
|
||||
Intent mainIntent = new Intent(this, MainActivity.class);
|
||||
mainIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
||||
startActivity(mainIntent);
|
||||
finish();
|
||||
}
|
||||
|
||||
}
|
@ -133,7 +133,7 @@ packages:
|
||||
name: fetch_app_logs
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.2"
|
||||
version: "0.0.3"
|
||||
file:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -206,7 +206,7 @@ packages:
|
||||
name: flutter_runtime_env
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1"
|
||||
version: "0.0.2"
|
||||
flutter_staggered_grid_view:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -31,8 +31,8 @@ dependencies:
|
||||
page_transition: "^1.1.5"
|
||||
provider: ^3.2.0
|
||||
git_bindings: ^0.0.8
|
||||
fetch_app_logs: ^0.0.2
|
||||
flutter_runtime_env: ^0.0.1
|
||||
fetch_app_logs: ^0.0.3
|
||||
flutter_runtime_env: ^0.0.2
|
||||
yaml_serializer: ^0.0.2
|
||||
connectivity: ^0.4.6+1
|
||||
|
||||
|
Reference in New Issue
Block a user