Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Social App Template

Discussion in 'Assets and Asset Store' started by Uni-Bit-Studio, Jun 24, 2019.

  1. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Asset Store Link: https://assetstore.unity.com/packages/slug/147393

    This is template for social app like Facebook made on Unity. Firebase is used as backend. This package contains everything you need to start developing your social network.


    Here are the main features:
    - Registration/ Email verification
    - Login system
    - User profile (Set image profile from camera/gallery)
    - Friend list (invite, remove, add).
    - Friends.Requested. Pending. Search
    - View user profile
    - Make post (text, image, video) from camera or gallery
    - Post likes system
    - Post comments
    - Endless news feed with no memory leak and performance down
    - Filter news feed. See your posts, posts only friends, or posts of all users
    - Friend messaging system/chat
    - Send direct message to user
    - Native emoji support
    - Auto detect and add clickable links in text
    - Firebase backend
    - Control quality of upload image
    - Check online status, last activity
    - Automatically loads profile photos with different sizes (1024, 512, 256, 128) for better app performance
    - Automatically convert any users video to mp4 with H.256 codec on server side for better app performance
    - See when user typing message
    - Firebase push notifications
    - Well structured database. The query time does not depend on the size of the database.
    - Count of unread messages, friends post



    IMPORTANT!
    - Work with Unity 2018.3.3 and higher
    - Required Firebase SDK
    - Required Firebase Cloud Function Integration (All tutorials included)



    if you have any questions, please contact us assets@uni-bit.com


    This asset uses UnityMainThreadDispatcher under the 2-clause Apache License and NativeCamera under the MIT license and NativeGallery under the MIT license; see ThirdPartyNotices.txt file in package for details.



    Documentation
     
    Neviah likes this.
  2. hafizx199

    hafizx199

    Joined:
    Jan 30, 2019
    Posts:
    2
    I having this problem
     

    Attached Files:

  3. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi Hafiz

    Remove .firebaserc and firebase.json from unzipped folder and try again
     
  4. hafizx199

    hafizx199

    Joined:
    Jan 30, 2019
    Posts:
    2
    Thankyouu it worked!
     
    Uni-Bit-Studio likes this.
  5. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,403
    Can I test a demo on phone somewhere? Did anybody released their app yet?
     
  6. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,403
    Does it use UGUI? can I easy modify Icons and layouts?
     
  7. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello, Devision4

    I sent you test build with list of test users in private message.

    I hope you will be satisfied with the testing
     
  8. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Devision4,

    Yes asset use UGUI and you can modify icons and layouts very easy.

    Best reagrds,
    Uni-Bit Studio Team
     
  9. jerry2157

    jerry2157

    Joined:
    Mar 23, 2014
    Posts:
    17
    Hi! I'm having problems with this part of firebase:

    Code (CSharp):
    1. MacBook-Pro-de-Gerardo:firecast(MacOS) gerardomagdaleno$ sudo firebase deploy
    2. ⚠  functions: package.json indicates an outdated version of firebase-functions.
    3. Please upgrade using npm install --save firebase-functions@latest in your functions directory.
    4.  
    5. === Deploying to 'gossip-32589'...
    6.  
    7. i  deploying functions
    8. Running command: npm --prefix "$RESOURCE_DIR" run lint
    9.  
    10. > functions@ lint /Users/gerardomagdaleno/Unity/proyectos/Gossip/Assets/SocialAppTemplate/FirebaseCloudFunctions/firecast(MacOS)/functions
    11. > tslint --project tsconfig.json
    12.  
    13. sh: /Users/gerardomagdaleno/Unity/proyectos/Gossip/Assets/SocialAppTemplate/FirebaseCloudFunctions/firecast(MacOS)/functions/node_modules/.bin/tslint: Permission denied
    14. npm ERR! code ELIFECYCLE
    15. npm ERR! errno 126
    16. npm ERR! functions@ lint: `tslint --project tsconfig.json`
    17. npm ERR! Exit status 126
    18. npm ERR!
    19. npm ERR! Failed at the functions@ lint script.
    20. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    21.  
    22. npm ERR! A complete log of this run can be found in:
    23. npm ERR!     /Users/gerardomagdaleno/.npm/_logs/2019-08-10T18_26_56_944Z-debug.log
    24.  
    25. Error: functions predeploy error: Command terminated with non-zero exit code126
    26.  
    27. Having trouble? Try firebase deploy --help
    28. MacBook-Pro-de-Gerardo:firecast(MacOS) gerardomagdaleno$
    29.  
    Do you have any suggestion to fix it?
     
  10. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi
    Please try run

    npm install tslint typescript -g
    npm install firebase-admin@latest
    npm install firebase-functions@lates

    before firebase deploy.
    Let me know if everything worked for you

     
    jerry2157 likes this.
  11. jerry2157

    jerry2157

    Joined:
    Mar 23, 2014
    Posts:
    17
    Everything worked, thank you!

     
    Uni-Bit-Studio likes this.
  12. InfinityCoder88

    InfinityCoder88

    Joined:
    Oct 4, 2013
    Posts:
    283
    Hi @Uni-Bit-Studio Team,

    I want to buy your product because is the best of this kind on asseststore, I want to use your product fo videos and images share, did SAT support GIFs and watermarks for images gifs and videos? Can you send me a demo build please?

    Thanks in advance, and keep up the good job!
     
  13. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello, InfinityCoder88

    I sent you test build with list of test users in private message.

    Unfortunately, there is currently no support for gif files and watermarks in our project. But I do not think that it will be difficult to add this into the existing functionality

    Best reagrds,
    Uni-Bit Studio Team

     
  14. RadioactiveBullfrog

    RadioactiveBullfrog

    Joined:
    Jul 8, 2017
    Posts:
    49
    Can you tell me what is on your roadmap to add to this product?
     
    Barritico likes this.
  15. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello, RadioactiveBullfrog

    This is roadmap:

    - add ability to remove posts, messages
    - add ability to make repost
    - view users, who liked post
    - add ability to post multiply images
    - in app push notification
    - restore user password
    - change user password
    - send video, images in private messages
    - full screen video player
    - group chat
    - add history tab (likes, friend requsets, comments)
    - intergrate webrct to make video/audio calls

    But now there are plans to add other assets and then make the update

    Best reagrds,
    Uni-Bit Studio Team

     
    Last edited: Aug 15, 2019
  16. unity_sVgbCEEsWbBZVw

    unity_sVgbCEEsWbBZVw

    Joined:
    Dec 11, 2018
    Posts:
    1
    Hi @Uni-Bit-Studio Team,

    i have a issue regarding login i want to change the login and registration module by phone number verification with otp so how we will achieve this please guide me
     
  17. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi

    Firebase has already provided a tutorial on implementing authorization through a mobile phone number
    You can check it here
    https://firebase.google.com/docs/auth/unity/phone-auth

    Best regards, Uni-Bit Studio Team


     
  18. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    292
    Hi.

    It has a magnificent appearance. Congratulations.

    My question is this:
    In case of acquiring it, my intention is that the database be MS SQL SERVER. And my question is if the asset has the complete source code to be able to do this migration (with my resources, of course)

    Thank you.
     
  19. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi

    Yes, all source code is present
    All firebase requests are in FirebaseController.cs
    It’s possible to go over by rewriting all the queries for MS SQL SERVER, but it’s a lot of work

    Best regards, Uni-Bit Studio Team

     
  20. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    23
    InfinityCoder88 likes this.
  21. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    292
    Hi.

    I bought the asset and everything works perfectly. I hope you continue to evolve it and not become another asset that, unfortunately, is abandoned.

    Great job. Congratulations.
     
  22. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi

    This task was not planned, but we will definitely add it to roadmap
    thanks for the idea

    Best regards, Uni-Bit Studio Team

     
  23. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi dear Barritico,

    Thanks for the kind words!

    Updates will be issued according to our plan, no one will quit work :)

    We will also be grateful for the positive feedback on the page in AssetStore.

    Best regards,
    Uni-Bit Studio Team

     
  24. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    23
    Thanks. Once this feature is added. I would be happy to purchase it. Keep up the great work.

     
    Uni-Bit-Studio likes this.
  25. somosky

    somosky

    Joined:
    Feb 15, 2014
    Posts:
    131
    Hi I purchased you asset today. I'm about 75% done going through your documentation for installation. I'm however stuck because I've unzipped the firebase windows folder however there is no firebase.json file in that folder. There are other files but not the firebase within the unzipped folder.
     
    Last edited: Aug 31, 2019
  26. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi Somosky,

    Do not worry. firebase.json is no longer needed to install cloud methods. Just skip the step removing firebase.json

    Best regards,
    Uni-Bit Studio Team

     
  27. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Dear developers,

    We are happy to announce small but useful update of our Social App Template Asset.

    Version 1.3

    - Added ability to search users by phone number
    - Added GetUserData method
    - Added GetUsersWhoLikePost method
    - Fixed big search query error

    You can download the update from the link - https://assetstore.unity.com/packages/templates/packs/social-app-template-147393

    Best regards,
    Uni-Bit Studio Team
     
    Neviah and InfinityCoder88 like this.
  28. InfinityCoder88

    InfinityCoder88

    Joined:
    Oct 4, 2013
    Posts:
    283
    Hi if somebody have problems with SAT in Unity 2019.3.0.b1 (beta) , just go and:

    1. Close your project in unity
    2. Open file explorer and fo to your project folder
    3. Delete: .vs , Library, Logs, obj, Packages folders and Assembly files also .sln
    4. Start Unity!
    SS2.PNG
     
  29. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hi InfinityCoder88,

    Thanks for your solution option regarding this error.

    We also will check it asap and will add the fix to the new update, if it would be needed.

    Best regards,
    Uni-Bit Studio Team

     
    InfinityCoder88 likes this.
  30. InfinityCoder88

    InfinityCoder88

    Joined:
    Oct 4, 2013
    Posts:
    283
    Hi @Uni-Bit-Studio,

    I got the problem with rendering videos, on Mobiles and PCs, can you help me with this problem?
    IMG_2628.JPG
    Thanks in advance!
     
  31. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello @InfinityCoder88

    Can you try to upload this video again and show us the download logs of this video from the firebase cloud functions console?

    There may be two problems:

    1. The video file is too large and the server has reached the limit for video processing. The maximum processing time is 5 minutes. Have you changed the MaxUploadVideoSizeMB parameter? Video should not exceed 100 mb. If the server does not have time to process, you can set the value below. What is the size of your video file?

    2. You could reach the limit of calls of cloud functions in firebase per month. You need to switch to a paid tariff.

    To understand what the problem is, logs are needed.

    Best regards,
    Uni-Bit Studio Team
     
  32. InfinityCoder88

    InfinityCoder88

    Joined:
    Oct 4, 2013
    Posts:
    283
    Hi @Uni-Bit-Studio ,

    Logs from functions:
    *I didn't change the MaxUploadVideoSizeMB .
     
  33. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello @InfinityCoder88

    Can you upload the video again and show only the method logs of UploadAndCompressVideo?


     
  34. InfinityCoder88

    InfinityCoder88

    Joined:
    Oct 4, 2013
    Posts:
    283
    Hi @Uni-Bit-Studio , here you go:

     
  35. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
  36. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Dear developers,

    We have released a new update (Version 1.4) related update of firebase cloud function.
    If anyone has problems with the video in the project, please update the latest version of the asset and upload new cloud methods with a new tutorial



    Best regards,
    Uni-Bit Studio Team
     
    Neviah and InfinityCoder88 like this.
  37. niuZ

    niuZ

    Joined:
    Sep 23, 2019
    Posts:
    1
    Hi,
    It's possible to test in phone? Maybe somebody already released live project based on Social template?
     
  38. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello, @niuZ

    I sent you test build with list of test users in private message.

    Best reagrds,
    Uni-Bit Studio Team
     
  39. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Dear developers,

    Important information!

    A bug was noticed in the Firebase SDK version 6.6.0

    The bug is related to the unstable operation of the application in Unity Editor.
    New posts in the feed are not added, the list of messages does not change. Seen only in the editor, everything works well in builds
    We do not recommend using version 6.6.0 to work with our asset.

    Stay tuned for our updates.

    Best regards,
    Uni-Bit Studio Team

    attention-please.jpg
     
    InfinityCoder88 likes this.
  40. bjornrun

    bjornrun

    Joined:
    Oct 29, 2013
    Posts:
    88
    How do we find the firebase SDK you recommend? Which version should it be?

    It works with firebase_unity_sdk_6.6.0 but a few differences in printout compared to the instructions.
     
    Last edited: Oct 27, 2019
  41. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello

    The latest version we can recommend is 6.0.0
    you can download it here
    https://dl.google.com/firebase/sdk/unity/firebase_unity_sdk_6.0.0.zip

    Best regards,
    Uni-Bit Studio Team

     
  42. stephan_Chris

    stephan_Chris

    Joined:
    Oct 28, 2019
    Posts:
    2
    Hi ,
    I can't find latest build neither on
    https://www.assetstore.unity3d.com/en/?stay#!/content/147393
    or
    https://assetstore.unity.com/packages/templates/packs/social-app-template-147393

    can you please send me a bug free apk to test on my phone?

    does it work on android 4.4 and higher?

    does it have a server side admin panel to block certain phones and ppl?

    can it make groups like whatsapp ?

    can users go into encrypted chat with asymmetric encryption ?

    can you share a youtube videos that are private with a link?

    are you using
    UniWebView https://www.assetstore.unity3d.com/en/?stay#!/content/92605
    UGUI Super ScrollView https://www.assetstore.unity3d.com/en/?stay#!/content/86572


    will i need any other licenses or assets from the store to use yours?

    any plans to use nGUI ?

    how is your feature support?

    does it come with full c# source code ?
     
  43. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello

    can you please send me a bug free apk to test on my phone?
    - PM sent
    does it work on android 4.4 and higher?
    - Yes, work well on android 4.4 and higher
    does it have a server side admin panel to block certain phones and ppl?
    - No, you can only remove certain accaunts
    can it make groups like whatsapp ?
    - No, but it can be done, the comments under the post are almost the same as the group
    can users go into encrypted chat with asymmetric encryption ?
    - No
    can you share a youtube videos that are private with a link?
    All videos are public
    are you using
    UniWebView https://www.assetstore.unity3d.com/en/?stay#!/content/92605
    UGUI Super ScrollView https://www.assetstore.unity3d.com/en/?stay#!/content/86572
    - No
    will i need any other licenses or assets from the store to use yours?
    - No
    any plans to use nGUI ?
    - Not in the near future
    how is your feature support?
    - For any project setup questions please contact us assets@uni-bit.com
    does it come with full c# source code ?
    - Yes

    Best regards,
    Uni-Bit Studio Team


     
  44. stephan_Chris

    stephan_Chris

    Joined:
    Oct 28, 2019
    Posts:
    2
    I have android lolipop v5 ,file size correct 33.1MB
    tried Nox player Not responding


     
  45. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Dear developers,

    The latest version of Firebase 6.7.0 is stable. You can use it in our asset.

    Stay tuned for our updates.

    Best regards,
    Uni-Bit Studio Team
     
  46. RustySong

    RustySong

    Joined:
    Jan 6, 2019
    Posts:
    6
    Hi @Uni-Bit-Studio Team,

    Your product looks amazing! Since I only need the input field with emoji support on iOS part, can I test the demo on my phone?(Or video shows how it work on iOS)Also few questions:
    1. Does the input field support TextMeshPro?
    2. If it supports TextMeshPro, does it parse emoji using Char Sequence? e.g. emoji with different skin color or flags, original texmeshpro just parse these as two split emoji, and edit function went wrong after input these emojis.
    3. Original unity input field has many annoying bugs on mobile, does yours feel more "native" to use on mobile platform?

    Thanks in advance!
     
  47. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello

    Unfortunately at the moment we do not have a build under iOS. But it is tested on ios and works well. We can send you a build for android.
    1. Yes, our input uses a TextMeshPro component
    2. Our asset uses the original solution of emoji from text mesh pro
    3. Yes, it more feel as "native". We have implemented several modifications in unity input field.

    Best regards,
    Uni-Bit Studio Team


     
    InfinityCoder88 likes this.
  48. RustySong

    RustySong

    Joined:
    Jan 6, 2019
    Posts:
    6
    Thank you for your reply!
     
  49. germanokenero

    germanokenero

    Joined:
    Aug 24, 2019
    Posts:
    2
    Estou com este erro:

    Não foi possível carregar as opções do aplicativo Firebase ([E: / TEKO POR / REDES SOCIAIS / REDES SOCIAIS / Ativos / StreamingAssets \ google-services-desktop.json, E: / TEKO POR / REDES SOCIAIS / REDES SOCIAIS / Ativos / StreamingAssets \ google- services.json] estão ausentes ou malformados)
    UnityEngine.Debug: LogError (Object)
    Firebase.Platform.FirebaseLogger: LogMessage (PlatformLogLevel, String) (em Z: /tmp/tmp.YjzkX82xZ8/firebase/app/client/unity/src/Unity/FirebaseLogger.cs: 95)
    Firebase.LogUtil: LogMessage (LogLevel, String) (em Z: /tmp/tmp.BahqeQHBdV/firebase/app/client/unity/proxy/LogUtil.cs: 68)
    Firebase.LogUtil: LogMessageFromCallback (LogLevel, String) (em Z: /tmp/tmp.BahqeQHBdV/firebase/app/client/unity/proxy/LogUtil.cs: 76)
    Firebase.AppUtilPINVOKE: PollCallbacks ()
    Firebase.AppUtil: PollCallbacks () (em Z: /tmp/tmp.BahqeQHBdV/firebase/app/client/unity/proxy/AppUtil.cs: 32)
    Firebase.Platform.FirebaseAppUtils: PollCallbacks () (em Z: /tmp/tmp.BahqeQHBdV/firebase/app/client/unity/unity/unity/proxy/FirebaseAppUtils.cs: 33)
    Firebase.Platform.FirebaseHandler: Update () (em Z: /tmp/tmp.YjzkX82xZ8/firebase/app/client/unity/src/Unity/FirebaseHandler.cs: 205)
    Firebase.Platform.FirebaseMonoBehaviour: Update () (em Z: /tmp/tmp.YjzkX82xZ8/firebase/app/client/unity/src/Unity/FirebaseMonoBehaviour.cs: 45)
     
  50. Uni-Bit-Studio

    Uni-Bit-Studio

    Joined:
    Feb 25, 2019
    Posts:
    78
    Hello

    What version of Firebase SDK are you using?
    Try reimport json

    1. Remove google-services.json, located at Assets/google-services.json
    2. Remove google-services-desktop.json, located at Assets/StreamingAssets/google-services-desktop.json
    3. Download new google-services.json.
    4. Make sure that it’s called google-services.json, and not google-services(1).json for example
    5. Import it to the Assets folder

    Best regards,
    Uni-Bit Studio Team

     
unityunity