Search Unity

[Released] Ultimate Mobile Pro

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Oct 19, 2018.

  1. ShockFactor

    ShockFactor

    Joined:
    Sep 30, 2015
    Posts:
    8
    Have you found a solution? I have a very similar problem.
     
  2. deJong-IT

    deJong-IT

    Joined:
    Mar 18, 2018
    Posts:
    2
    Hello Support! Please respond to emails or at this forum! The product is NOT working!
     
  3. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hay folks! First of all, I apologize for being out of the radar few weeks. The new update is coming and let me address all the questions you had.

    @daniel-choi I see 2 issues from the screenshot you've posted.

    1. The plugin and library meta-file issue. - It will be fixed with the next update and in the meantime, there is a guide on how to fix it as well as a bit more info about an issue:
    https://github.com/StansAssets/com.stansassets.android-native/issues/32

    2. Looks like something is wrong with the way you've configured the application singing, please make sure you have followed this article.
    Setting Up Google Play Games Services
    https://developers.google.com/games/services/console/enabling

    Possible GooglePlay Sign-In issues
    https://github.com/StansAssets/com.stansassets.android-native/wiki/Android-Sign-In-issues

    Make sure you are using correct keystore

    @deJong-IT , @ShockFactor guys, the problem, solutions & the description are posted here:
    https://github.com/StansAssets/com.stansassets.android-native/issues/32

    Again, my apologies for the slow replay. Let me know in case of any other issues. I am back from holidays and back to a normal update schedule.
     
  4. Azirell

    Azirell

    Joined:
    Oct 16, 2015
    Posts:
    27
    Hi all!
    Is there a chance you add Safari View Controller support?
    I'm desperately need it and it seems like your asset does not implement this, does it?
     
  5. unitynewb

    unitynewb

    Joined:
    Feb 22, 2009
    Posts:
    242
    I'm having this issue where on Android if I take a picture it saves it to the gallery and allows me to use it in game, but if I try to pass it to a sharing dialog it doesn't send it over. I noticed that in the adb log AndroidNative shows is exist: false for the image, here is the log:

    Code (CSharp):
    1.  
    2. 01-25 20:02:06.035  4574  4623 D AndroidNative: Unity: [Async] Sent to Unity ->: {"m_path":"/storage/emulated/0/Pictures/GameName/GameName-511475.png"}
    3. 01-25 20:02:06.120  4574  4574 D AndroidNative: AN_ProxyActivity onStart
    4. 01-25 20:02:06.120  4574  4574 D AndroidNative: activity started
    5. 01-25 20:02:06.120  4574  4574 D AndroidNative: intent.setAction android.intent.action.SEND
    6. 01-25 20:02:06.120  4574  4574 D AndroidNative: intent.setType image/*
    7. 01-25 20:02:06.120  4574  4574 D AndroidNative: intent.addFlags 1
    8. 01-25 20:02:06.120  4574  4574 D AndroidNative: intent.addFlags 524288
    9. 01-25 20:02:06.120  4574  4574 D AndroidNative: extra type: 0
    10. 01-25 20:02:06.120  4574  4574 D AndroidNative: intent.putExtra: android.intent.extra.TEXT / Check out my image from the GameName app!
    11. 01-25 20:02:06.120  4574  4574 D AndroidNative: extra type: 2
    12. 01-25 20:02:06.153  4574  4574 D AndroidNative: Creating Share URI with external storage
    13. 01-25 20:02:06.714  4574  4574 D AndroidNative: FileName: Screenshot_20210125_200206.png
    14. 01-25 20:02:06.715  4574  4574 D AndroidNative: is exists: false
    15. 01-25 20:02:07.389  4574  4574 D AndroidNative: Saved: content://media/external/images/media/118
    16. 01-25 20:02:07.389  4574  4574 D AndroidNative: intent.putExtra: android.intent.extra.STREAM / content://media/external/images/media/118
    17. 01-25 20:02:07.389  4574  4574 D AndroidNative: Intent.createChooser
    18. 01-25 20:02:09.140  4574  4574 D AndroidNative: AN_ProxyActivity::onActivityResult
    19. 01-25 20:02:09.141  4574  4574 D AndroidNative: AN_ProxyActivity::finish
    20. 01-25 20:02:09.142  4574  4623 D AndroidNative: Unity: [Async] Sent to Unity ->: {"m_resultCode":0}
    21. 01-25 20:02:09.143  4574  4623 I Unity   : Sharing flow is finished, User has retured to the app
    22. 01-25 20:02:09.143  4574  4623 I Unity   : UnityEngine.Logger:Log(LogType, Object)
    23. 01-25 20:02:09.143  4574  4623 I Unity   : System.Action:Invoke()
    24. 01-25 20:02:09.143  4574  4623 I Unity   : System.Action`1:Invoke(T)
    25. 01-25 20:02:09.143  4574  4623 I Unity   : System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    26. 01-25 20:02:09.143  4574  4623 I Unity   : System.Reflection.MethodBase:Invoke(Object, Object[])
    27. 01-25 20:02:09.143  4574  4623 I Unity   : UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
    28. 01-25 20:02:09.143  4574  4623 I Unity   : UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
    29. 01-25 20:02:09.143  4574  4623 I Unity   :
    30. 01-25 20:02:09.143  4574  4623 I Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    31. 01-25 20:02:09.143  4574  4623 I Unity   :
     
  6. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    I think we don't. But maybe Web view can be something we can support. Feel free post the feature request here:
    https://github.com/StansAssets/com.stansassets.ultimate-mobile/issues

    Can you please post a code sample here?
     
  7. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    2021.1
    • feat: um master analytics client & firebase analytics UI
    • chore: force enabled an_library.bundle Android platform compatibility.
    • chore: playmaker ui creation fix.
    • chore: Google AdMob and Unity Adds add-ons compatibility update.
    ANDROID
    • fix: capture image permissions.
    • fix: android resolver installation.
    • fix: ios music player items select delegate.
    • fix: android contracts async retrieval fixed.
    • chore: packages installation reworked & facebook package version updated.
    • chore: force enabled an_library.bundle Android platform compatibility.
    iOS
    • fix: ios application delegate events.
     
  8. Recon03

    Recon03

    Joined:
    Aug 5, 2013
    Posts:
    679

    Stan I have used your assets for years, but just because folks don't ask or talk, don't mean they don't like or want something, most of us are just busy developing, working etc... Unity, multi player, is crap for mobile. I personally like the fact that you supported it early on. even if it was in early stages. Back then. But that is my 2 cents. I wish developers would understand, most people will ONLY post when there is a problem, I rarely ask for support, I fix it myself. Just saying.
     
  9. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Thanks for using our stuff @Recon03 that's really nice to hear.
    Regarding the multiplayer. I really liked the idea of a native multiplayer built by Apple & Google with matchmaking support on top of it.
    The facts are sad:
    * Majority of developers need multiplayer to allow players from iOS to play with Android players, etc.
    * Google does not support real-time multiplayer anymore.

    This is the reason why it's not in the plugin anymore. But yea, this is sad.
     
  10. Recon03

    Recon03

    Joined:
    Aug 5, 2013
    Posts:
    679

    ya well we need to use firebase, for real time, but ya, Google has its head up there butt for some reason. also I used to be a mobile dev, on top of a PC, console dev for 3 decades I normally stayed away from Apple. personally. but I understand for you wanting to support it since there are devs who want IOS. but many of us can't stand Apple, nor like developing for them.

    But real time does exist, we just need to make it our selves, using Firebase is what google recommends, I been using that for years now.

    The issue is google is making it harder and harder for Android devs to make money, which is what caused me to stop developing for mobile.. but I went back for my kids and so forth as of late again. I made my own tool years ago for real time, but I wanted to make a comment about folks not commenting, so I wanted you to be aware , just because we don't comment about something does not mean we don't like or dislike something. It just normally means we are busy, so I wanted to be sure you knew that.

    There are many vets like myself, who don't typical bother you guys, we just fix stuff our selves unless its a big issue since its faster for us to do so. ya I used stan's asset for Android since your release what 10 years now? I think.
     
  11. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Yea, heard it, thx! :)
    Most likely with the next project, we will play around with firebase multiplayer.
    And since support for analytics and cloud messaging within firebase is already there, so it makes sense to add that on either :)

    This is an exact thing why I am sure all sources should be open. And me personally would never invest in any tool or framework which is not an open source. This is super important to be able to mod or fix based on project needs.


    It's super good to hear that my and my teammate's work is actually helpful and saves somebody's time.
     
  12. Webbstre

    Webbstre

    Joined:
    Mar 7, 2015
    Posts:
    40
    Hiya! I'm running Unity 2020.2.1f1, and either v. 2020.10.2 or 2020.21 of Ultimate Mobile Pro (Not sure which... the Packages says 2020.21 but in the actual editor it says 2020.10.2 next to the Ultimate and Android windows).

    Anyway, when trying to get a simple login script going in my latest app I get the following mess of errors (via logcat)
    Code (CSharp):
    1. 2021/02/19 14:07:03.620 31732 31768 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_Logger
    2. 2021/02/19 14:07:03.620 31732 31768 Error Unity java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_Logger
    3. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at java.lang.Class.classForName(Native Method)
    4. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at java.lang.Class.forName(Class.java:400)
    5. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    6. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.access$300(Unknown Source)
    7. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source)
    8. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at android.os.Handler.dispatchMessage(Handler.java:101)
    9. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at android.os.Looper.loop(Looper.java:156)
    10. 2021/02/19 14:07:03.620 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e.run(Unknown Source)
    11. 2021/02/19 14:07:03.620 31732 31768 Error Unity Caused by: java.lang.ClassNotFoundException: Didn't find class "com.stansassets.core.utility.AN_Logger" on path: DexPathList[[zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/base.apk", zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/split_config.arm64_v8a.apk"],nativeLibraryDirectories=[/data/app/com.TwistedWebbe.PlasmaMania-2/lib/arm64, /data/app/com.TwistedWebbe.PlasmaMania-2/base.apk!/lib/arm64-v8a,
    12. 2021/02/19 14:07:03.626 31732 31768 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_ImageWrapper
    13. 2021/02/19 14:07:03.626 31732 31768 Error Unity java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_ImageWrapper
    14. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at java.lang.Class.classForName(Native Method)
    15. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at java.lang.Class.forName(Class.java:400)
    16. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    17. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.access$300(Unknown Source)
    18. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source)
    19. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at android.os.Handler.dispatchMessage(Handler.java:101)
    20. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at android.os.Looper.loop(Looper.java:156)
    21. 2021/02/19 14:07:03.626 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e.run(Unknown Source)
    22. 2021/02/19 14:07:03.626 31732 31768 Error Unity Caused by: java.lang.ClassNotFoundException: Didn't find class "com.stansassets.core.utility.AN_ImageWrapper" on path: DexPathList[[zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/base.apk", zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/split_config.arm64_v8a.apk"],nativeLibraryDirectories=[/data/app/com.TwistedWebbe.PlasmaMania-2/lib/arm64, /data/app/com.TwistedWebbe.PlasmaMania-2/base.a
    23. 2021/02/19 14:07:03.706 31732 31768 Info Unity ==================== Preparing to log in? ====================
    24. 2021/02/19 14:07:03.706 31732 31768 Info Unity StartAppFunctions:Start()
    25. 2021/02/19 14:07:03.706 31732 31768 Info Unity
    26. 2021/02/19 14:07:03.724 31732 31768 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_UnityBridge
    27. 2021/02/19 14:07:03.724 31732 31768 Error Unity java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_UnityBridge
    28. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at java.lang.Class.classForName(Native Method)
    29. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at java.lang.Class.forName(Class.java:400)
    30. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    31. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer.access$300(Unknown Source)
    32. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source)
    33. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at android.os.Handler.dispatchMessage(Handler.java:101)
    34. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at android.os.Looper.loop(Looper.java:156)
    35. 2021/02/19 14:07:03.724 31732 31768 Error Unity     at com.unity3d.player.UnityPlayer$e.run(Unknown Source)
    36. 2021/02/19 14:07:03.724 31732 31768 Error Unity Caused by: java.lang.ClassNotFoundException: Didn't find class "com.stansassets.core.utility.AN_UnityBridge" on path: DexPathList[[zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/base.apk", zip file "/data/app/com.TwistedWebbe.PlasmaMania-2/split_config.arm64_v8a.apk"],nativeLibraryDirectories=[/data/app/com.TwistedWebbe.PlasmaMania-2/lib/arm64, /data/app/com.TwistedWebbe.PlasmaMania-2/base.apk!
    37. 2021/02/19 14:07:03.775 31732 31839 Info AudioTrack-JNI audioTrack send start state to pg
    38.  
    I have successfully used the same script (based on the documentation for how to implement a login) and it worked in a previous app, so I'm not sure what's different this time.
     
  13. sik5646

    sik5646

    Joined:
    Jul 31, 2019
    Posts:
    3
    Hi, Is this asset can streaming multiple images too?
     
  14. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    What do you mean by streaming images?

    Yea, please update to the latest version, this is a known issue that was already fixed. And of course let me know if you will have any problems. Thank you!
     
  15. Webbstre

    Webbstre

    Joined:
    Mar 7, 2015
    Posts:
    40
    I have successfully updated and there is no change to the error.
     
  16. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    PM me please, let's have a quick call.
     
  17. FeerikGamesBuilds

    FeerikGamesBuilds

    Joined:
    Sep 7, 2017
    Posts:
    2
    Hi Stan!
    I don't know why but I just restarted an old project and I now get this error:

    Can't find the source lib folder at path:
    Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/AndroidDisabled/Maven/
    UnityEngine.Debug:LogError(Object)
    SA.Foundation.Editor.SA_PluginsEditor:InstallLibFolder(String, String) (at Assets/Plugins/StansAssets/Foundation/Editor/AssetsManagment/SA_PluginsEditor.cs:67)
    SA.Android.AN_Preprocessor:ResolveBinaryLibs(AN_AndroidBuildRequirements) (at Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Editor/Preprocessor/AN_Preprocessor.cs:195)
    SA.Android.AN_Preprocessor:Resolve(AN_AndroidBuildRequirements) (at Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Editor/Preprocessor/AN_Preprocessor.cs:109)
    SA.Android.AN_Preprocessor:Resolve() (at Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Editor/Preprocessor/AN_Preprocessor.cs:46)
    SA.Android.AN_Preprocessor:preprocess(BuildTarget) (at Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Editor/Preprocessor/AN_Preprocessor.cs:345)
    SA.Android.AN_Preprocessor:OnPreprocessBuild(BuildReport) (at Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Editor/Preprocessor/AN_Preprocessor.cs:328)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

    It seems that something is removing this folder...
    Thanks for the help.

    f
     
  18. aero80

    aero80

    Joined:
    Jan 29, 2013
    Posts:
    26
    I have upgraded to 2021.1. I'm getting a similar error like the one Webbstre is having.

    2021/04/30 09:13:24.409 16746 10014 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_UnityBridge
    2021/04/30 09:13:24.409 16746 10014 Error Unity java.lang.ClassNotFoundException: com.stansassets.core.utility.AN_UnityBridge
    2021/04/30 09:13:24.409 16746 10014 Error Unity at java.lang.Class.classForName(Native Method)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at java.lang.Class.forName(Class.java:454)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at android.os.Handler.dispatchMessage(Handler.java:102)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at android.os.Looper.loop(Looper.java:246)
    2021/04/30 09:13:24.409 16746 10014 Error Unity at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)


    I'm only using admob and native dialogs. Above error is happening when trying to launch a rating dialog. Have you guys figured out a solution?
     
    Last edited: Apr 30, 2021
  19. Colin_MacLeod

    Colin_MacLeod

    Joined:
    Feb 11, 2014
    Posts:
    174
    Hi @stanislav-osipov ,

    We're using the Ultimate Mobile Pro asset on iOS and Android specifically for UM_WheelPickerDialog.

    It's great for us, but on Android I've noticed I'm seeing a very different picker in my app versus the picker I get in a small demo app I made.

    Screenshot_20210504-143508_MainApp.jpg Screenshot_20210504-144646_TestPicker.jpg

    Any idea why this is? I'd prefer to get the scrolling/native version without the + and - buttons.

    Is there a setting that controls this? I'm using Assembly Definition files in my main program, in case this is significant.
     
  20. Colin_MacLeod

    Colin_MacLeod

    Joined:
    Feb 11, 2014
    Posts:
    174
  21. fornetjob

    fornetjob

    Joined:
    Sep 11, 2014
    Posts:
    17
    How I can find inventory in new C# api?
    AN_Billing.Inventory.Purchases not exists and AN_Purchase from AN_iPurchasesUpdatedListener.onPurchasesUpdated doesn't not contains PriceCurrencyCode.
     
  22. tiloc

    tiloc

    Joined:
    May 12, 2021
    Posts:
    2
     
  23. tiloc

    tiloc

    Joined:
    May 12, 2021
    Posts:
    2
    I am having the same issue. It seems to be related to obfuscation / shrinking of resources. The aar file for Stan's Assets does not contain a proguard file which would prevent that. I tried to write my own proguard file but must have missed something. Currently turning off the obfuscator in its entirety. That works, but makes me dissatisfied of course.
     
  24. JoseRochaCCG

    JoseRochaCCG

    Joined:
    May 15, 2021
    Posts:
    1
    Hello.

    When’s the update coming for fixing the camera and the gallery on android 11? They aren’t working :/
     
  25. VEWO

    VEWO

    Joined:
    Sep 30, 2014
    Posts:
    6
    1. Create a brand new Unity project.
    2. Add this asset.
    3. Get this error:

    An error occurred while resolving packages:
    Project has invalid dependencies:
    com.google.external-dependency-manager: Package [com.google.external-dependency-manager@1.2.157] cannot be found

    4. The Package manifest has this:

    "com.google.external-dependency-manager": "1.2.157"

    And the scoped registry:

    "scopedRegistries": [
    {
    "name": "Game Package Registry by Google",
    "url": "https://unityregistry-pa.googleapis.com",
    "scopes": [
    "com.google"
    ]
    }
    ]


    All I did was add the asset to an empty project. It just doesn't work.

    I know that I could just manually download the dependency manager and remove the part of the project that keeps adding it to the manifest, but I feel like this shouldn't be happening out of the box to begin with.
     
  26. firstuser

    firstuser

    Joined:
    May 5, 2016
    Posts:
    144
  27. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Yes, I already updated an implementation, so now it will be installing from the git hub instead of the package manager.
     
  28. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    In fact yup, we have fix for it in the new update!

    Sorry, I did. You mean like on different android devices you have different popups?
     
  29. Colin_MacLeod

    Colin_MacLeod

    Joined:
    Feb 11, 2014
    Posts:
    174
    No, I have 2 separate Unity projects. So when I build a small stand-alone project, I get a different UI on device than when I include your asset in our main project.

    The actual call to UM_WheelPickerDialog is the same in both cases (as far as I can see).

    The question was, do you have any idea why this might be? The main project is large and includes several other third-party assets, so it would be hard to isolate what's causing this different behavior. I just wondered if it might be a setting or something that you could suggest that would cause the Android UX to be so different.
     
  30. RendergonPolygons

    RendergonPolygons

    Joined:
    Oct 9, 2019
    Posts:
    45
    Hey @stanislav-osipov , just purchased Ultimate pro, thanks for putting together such cool asset ! I can't see how I can access aswebauthenticationsession for third party oauth like this? Where can I find this please, if not currently available is it in the cards for development considering the need for aswebauthenticationsession? thanks for your help!
     
  31. Will_at_BridgeWorxGames

    Will_at_BridgeWorxGames

    Joined:
    Feb 20, 2020
    Posts:
    12
    How do I get the notification to display? I ticked the box, and when I build, archive (on XCode) and then upload to TestFlight, the notification doesn't display at all. How do I get it to display? Tracking is required with using Unit's ads, so I need to have this. Currently Apple is rejecting my app because I don't have it.

    I'm also getting this error:
    Assets/RequestTrackingAuthorization.cs(14,13): error CS0103: The name 'UM_DialogsUtility' does not exist in the current context

    How do I display this pop up?
     

    Attached Files:

    Last edited: Jun 24, 2021
  32. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hello, this is definitely something we do not have yet.
    Also, this looks like something only ios related.
    I will be grateful if you can post the request here. that is helping us to track and plan accordingly.
    https://github.com/StansAssets/com.stansassets.ios-native


    You need to call `RequestTrackingAuthorization` I assume you used a sample from here:
    https://github.com/StansAssets/com.stansassets.ios-native/wiki/ATTrackingManager

    Please note, that we use `UM_DialogsUtility` just for a sample to show something in a screen after auth is requested.
    Looks like to forgot to add `SA.CrossPlatform.UI` namespace that is needed for `UM_DialogsUtility`
     
  33. pcchen730

    pcchen730

    Joined:
    Aug 21, 2018
    Posts:
    1
    Hello
    Is the fix for camera and the gallery on android 11 in the Version 2021.1 ?
     
  34. Grumpy-Dot

    Grumpy-Dot

    Joined:
    Feb 29, 2016
    Posts:
    83
    @stanislav-osipov Hello, not sure you are aware, google plugins are no longer working properly with Unity Package Manager, so the integration for Firebase cloud messaging is not working as expected.
    Even if the FCM Messaging is manually installed with the unitypackage, Ultimate is not recognizing it.
     
    Last edited: Aug 11, 2021
    firstuser likes this.
  35. aero80

    aero80

    Joined:
    Jan 29, 2013
    Posts:
    26
    I think someone needs to make it official and call time of death on this plugin. Developers are offly quiet.
     
  36. Aligdev

    Aligdev

    Joined:
    Mar 9, 2016
    Posts:
    34
    Did you manage to solve your problem? I'm having exact same problem.

    @stanislav-osipov I tested lastest version of Ultimate Mobile Pro with Unity 2021 and 2020, I get same error, even in an empty project with just Ultimate Mobile Pro!

    Edit: It happens at the first moment of executing program, before Unity logo show up.

    Here is debug log:

    Code (CSharp):
    1. FATAL EXCEPTION: main
    2. Process: com.editali.test, PID: 14593
    3. java.lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.editali.test-1/base.apk"],nativeLibraryDirectories=[/data/app/com.editali.test-1/lib/arm, /vendor/lib, /system/lib]]
    4. at android.app.ActivityThread.installProvider(ActivityThread.java:4999)
    5. at android.app.ActivityThread.installContentProviders(ActivityThread.java:4591)
    6. at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4531)
    7. at android.app.ActivityThread.access$1500(ActivityThread.java:147)
    8. at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
    9. at android.os.Handler.dispatchMessage(Handler.java:102)
    10. at android.os.Looper.loop(Looper.java:135)
    11. at android.app.ActivityThread.main(ActivityThread.java:5253)
    12. at java.lang.reflect.Method.invoke(Native Method)
    13. at java.lang.reflect.Method.invoke(Method.java:372)
    14. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
    15. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
    16. 08/19 21:51:07.835 14593 14593 Error AndroidRuntime Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.editali.test-1/base.apk"],nativeLibraryDirectories=[/data/app/com.editali.test-1/lib/arm, /vendor/lib, /system/lib]]
    17. at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    18. at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    19. at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    20. at android.app.ActivityThread.installProvider(ActivityThread.java:4984)
    21. ... 11 more
    22. Suppressed: java.lang.ClassNotFoundException: androidx.core.content.FileProvider
    23.     at java.lang.Class.classForName(Native Method)
    24.     at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
    25.     at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
    26.     at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
    27.     ... 13 more
    28. Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
    29.  
     
  37. Grumpy-Dot

    Grumpy-Dot

    Joined:
    Feb 29, 2016
    Posts:
    83
    I found a quick fix for an issue with SocialResolver on iOS that kept adding the "instagram" and "whatsapp" plist keys in the ISD_Settings at every build or library resolve.
    The fix is to add a check for the "LSApplicationQueriesSchemes" key in the ISN_SocialResolver class like this:
    Code (CSharp):
    1. if (!ISD_API.ContainsKey("LSApplicationQueriesSchemes"))
    2. {
    3.     var LSApplicationQueriesSchemes = new ISD_PlistKey();
    4.     LSApplicationQueriesSchemes.Name = "LSApplicationQueriesSchemes";
    5.     LSApplicationQueriesSchemes.Type = ISD_PlistKeyType.Array;
    6.     requirements.AddInfoPlistKey(LSApplicationQueriesSchemes);
    7.     var instagram = new ISD_PlistKey();
    8.     instagram.StringValue = "instagram";
    9.     instagram.Type = ISD_PlistKeyType.String;
    10.     LSApplicationQueriesSchemes.AddChild(instagram);
    11.     var whatsapp = new ISD_PlistKey();
    12.     whatsapp.StringValue = "whatsapp";
    13.     whatsapp.Type = ISD_PlistKeyType.String;
    14.     LSApplicationQueriesSchemes.AddChild(whatsapp);
    15. }
     
unityunity