Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS(TestSet): FAIL: Master compilable #49

Open
obrasero opened this issue Aug 29, 2021 · 4 comments
Open

TS(TestSet): FAIL: Master compilable #49

obrasero opened this issue Aug 29, 2021 · 4 comments

Comments

@obrasero
Copy link
Contributor

as of: SHA-1: 8a40ff9
the MASTER is no longer compilable with android studio:
--->
Running Gradle task 'assembleDebug'...
lib/provider/friend_location.dart:19:35: Error: Method not found: 'RsPeers.getPeerFriendDetails'.
locations.add(await RsPeers.getPeerFriendDetails(sslIds[i], _authToken));
^^^^^^^^^^^^^^^^^^^^
lib/ui/notification_screen.dart:18:32: Error: Method not found: 'RsMsgs.getPendingChatLobbyInvites'.
var invites = await RsMsgs.getPendingChatLobbyInvites(authToken);
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/notification_screen.dart:127:72: Error: Method not found: 'RsMsgs.denyLobbyInvite'.
await RsMsgs.denyLobbyInvite(
^^^^^^^^^^^^^^^
lib/ui/notification_screen.dart:148:66: Error: Method not found: 'RsMsgs.acceptLobbyInvite'.
RsMsgs.acceptLobbyInvite(
^^^^^^^^^^^^^^^^^
lib/ui/home/home_screen.dart:52:14: Error: Method not found: 'RsMsgs.getPendingChatLobbyInvites'.
RsMsgs.getPendingChatLobbyInvites(authToken);
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/common/drawer.dart:203:25: Error: Method not found: 'RsMsgs.getPendingChatLobbyInvites'.
return await RsMsgs.getPendingChatLobbyInvites(authToken);
^^^^^^^^^^^^^^^^^^^^^^^^^^

@obrasero
Copy link
Contributor Author

Last compilable version (if not supported dart:html getrs rermived):
SHA-1: b70aaa5

  • Fix Image cross error 24.08 at 14:35h

First not complilable version (also if not supported dart:html gets removed):
SHA-1: e6e2972

  • Added Notification feature 26.08 at 23:45h

@Kumaravinash9
Copy link
Contributor

Kumaravinash9 commented Sep 6, 2021

Please fetch the Retroshare wrapper once. Then this issue will be removed.

@obrasero
Copy link
Contributor Author

obrasero commented Sep 10, 2021

Still not compilable: f2a6417
wrapper on: b83eec4a554911ae8c6a0a89212d74b8c8e1729b
dart-see on: b83eec4a554911ae8c6a0a89212d74b8c8e1729b

Running "flutter pub get" in retroshare-mobile...
The plugins flutter_custom_dialog, image_gallery_saver, qrscan use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/oktoast-2.3.2/lib/src/widget/oktoast.dart:108:26: Error: The getter 'body1' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'body1'.
    defaultTextTheme.body1.copyWith(
    ^^^^^
    ...

@Kumaravinash9
Copy link
Contributor

Kumaravinash9 commented Sep 10, 2021

Hi @obrasero ,

  • Use bodyText1 && bodyText2 at place of body1 && body2 will remove this issue.
  • Image_flutter_saver embedding issue will be fixed soon they have started working on it : Issue186
  • I have deleted the flutter_custom package in this PR .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants