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

Can't capture google map fragment #52

Closed
tka-dev opened this issue Apr 24, 2021 · 1 comment
Closed

Can't capture google map fragment #52

tka-dev opened this issue Apr 24, 2021 · 1 comment

Comments

@tka-dev
Copy link

tka-dev commented Apr 24, 2021

When I capture google map fragment result is black screen with logo google

My lib version
implementation 'com.github.tarek360:instacapture:2.0.1'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.google.android.gms:play-services-places:17.0.0'

My layout

<androidx.coordinatorlayout.widget.CoordinatorLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <fragment
        android:id="@+id/map"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        android:name="com.google.android.gms.maps.SupportMapFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".activity.main.MainActivity" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

176963082_896292587602716_3825247688529560120_n

@tka-dev
Copy link
Author

tka-dev commented Apr 24, 2021

I'm try to remove android:hardwareAccelerated="false".
It's worked

@tka-dev tka-dev closed this as completed Apr 24, 2021
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

1 participant