Closed nimesh-devloper closed 10 months ago
Hello @nimesh-devloper
This code you are mention in above used when making a payment outside the app (Like open browser for OTP ) and back into the app
Can you give me more details about your issue or message appear
Thanks
Hello @ahmedelkhyary
I have found this code from your plugin Redmi section.
when I added this code after that I was not able to open my app in the release mode.
To test I removed this code from my Menyfest file and then I was able to open my app in release mode but the problem is after that I cannot pay with the hyper_pay plugin.
Please guide me.
Do I have to remove all this code from the intent filter?
`
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:scheme="com.saan.sa.payment" />`
when i have removed this code i am stuck at this screen.
Hello @ahmedelkhyary
I have found this code from your plugin Redmi section.
when I added this code after that I was not able to open my app in the release mode.
To test I removed this code from my Menyfest file and then I was able to open my app in release mode but the problem is after that I cannot pay with the hyper_pay plugin.
Please guide me.
Do I have to remove all this code from the intent filter?
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.LAUNCHER" /> <data android:scheme="com.saan.sa.payment" />
It is not necessary for you to remove this code as it is required to back again into the application after payment.
Give me more details about the error message or video record
I am not getting any error when I add this intent code. but when I create a release apk with this code I am not able to open this app.
the release app is not visible in my app drawer in my real device.
I am sharing my manifest file code please check this is it okay ?
`
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.iqonic.servicebooking">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application
android:icon="@mipmap/ic_launcher"
android:label="Saan"
android:requestLegacyExternalStorage="true"
tools:replace="android:label">
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_stat_onesignal_default" />
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:scheme="com.saan.sa.payment" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaS*******************************" />
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<service
android:name="MyNavigationService"
android:foregroundServiceType="location" >
</service>
</application>
`
discord link https://discord.com/invite/T8TyGxpGBS
No, I can't add you to my repo. If you want I can share code files where I have added code for hyperpay_plugin.
Can you please share any other Test Project integrated with Hyperpay_plugin (flutter)?
So I can Compare it with my Project.
Thank you for the help.
This works for my code
I updated this in my Manifest file.
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
```
Hello
I have integrated hyper pay plugin in my app and after that I am not able to open my app in release mode.
I think the issue is coming because of the
<intent-filter>
When I remove this it will work properly but when I add this in my manifest file my app completes the installation but not opening in release mode.
please guide me.